GUI per interrogare la categoria di argomenti risolti o non risolti

Passare i parametri solved=no&status=open o solved=yes insieme alla categoria è una funzionalità davvero utile. È molto semplice e pratico filtrare i topic di una categoria in base allo stato di risoluzione. Purtroppo, queste funzioni sono raramente utilizzate, anche dagli utenti avanzati, semplicemente perché non ricordano la combinazione di parametri e non sanno come inviarli nell’URL.

Potremmo avere un pulsante nell’intestazione per ogni categoria che invii automaticamente i parametri URL per l’utente?

Visto che abbiamo già le liste principali, la lista dei preferiti, la lista “I miei post”, “Ultime”, ecc., potremmo aggiungere pulsanti per le liste “Non risolti” e “Risolti” per le categorie che hanno attivato la risoluzione?

Nelle versioni iniziali di Discourse potevamo creare pulsanti personalizzati con parametri predefiniti, come escludere una categoria o includerla.

Potremmo creare un pulsante che aggiunga i parametri solved=no&status=open al percorso della categoria corrente?

The Solved plugin adds a show filter by solved status site setting to Discourse. When enabled, it adds a filter for solved and unsolved topics to the navigation menu:

3 Mi Piace

Apologies

Never see that after years
image

joooj

Looks like this feature does not wokrs,
On my categories there is dorp’n down buton.
It sends to params to addres bar in chrome or firefox but there is no filtering after that

I am on lastes version

If you refresh the page when the solved=no query param is set, does the solved topic get removed from the topic list?

1 Mi Piace

Yes it does, Filtering works when I do refresh page with url parameters, but selecting unsolved or solved in drop and down do not refresh grid of topics.

1 Mi Piace

If you get a chance, could you try loading your site in safe mode and see if that fixes the problem?

4 Mi Piace

Entering in safe mod and Disable current theme did heal this bug
In safe mode drop’n down for filtering rows works as should.
Now I need time to test which theme component break this.


Any idea why I do not see filtering dop’n dow on my other instance.
There is solving enabled, I am on lastes but there is no filgtering drop n down filter

2 Mi Piace

Thanks for testing that.

What I’m finding is that unless the allow solved on all topics site setting is enabled, the filter is not getting added to the navigation menu. This seems to be related to another issue - when allow solved on all topics is not enabled, a Solved section is added to the category settings. The checkbox in this section will not stay checked after the category is saved. We will look into what is causing this problem and get it fixed.

4 Mi Piace

Can you try updating your site to get the latest version of the Discourse Solved plugin? The plugin has been updated to fix an issue that was preventing the solved filter from being displayed when the allow solved on all topics setting is not enabled. The filter should now be displayed for the topic lists of categories that allow solutions. The filter will still not be displayed on your site’s latest topic list unless allow solved on all topics is enabled. This is by design.

4 Mi Piace