nanodesigns / nanosupport

Create a fully featured Support Center in your WordPress setup without any third party dependency, completely FREE. Get a built-in Knowledgebase too. The plugin is available on WordPress.org repository:
https://wordpress.org/plugins/nanosupport/
GNU General Public License v2.0
50 stars 13 forks source link

Orderby `unresolved` first and `resolved` last #22

Open mayeenulislam opened 7 years ago

mayeenulislam commented 7 years ago

Actual behavior

User @wptech68 reported a feature request: If you get to the /support-desk/, you will get all the tickets submitted by you. But they are ordered by date only. If any ticket is resolved they are not ordered duly.

Steps to reproduce

  1. Create three tickets
  2. Mark the second one resolved
  3. See the ticket order in /support-desk/

Expected behavior

The resolved tickets should be in least order prior to open, pending, and under inspection tickets.

System Status

NanoSupport: v0.3.0

mayeenulislam commented 7 years ago

It's good to implement such ordering. But...

wptech68 commented 7 years ago

I agree with a dropdown where admin can set how tickets are ordered, but just the simple idea that the last ticket replied should be placed at top is the expected behaivour I guess

mayeenulislam commented 7 years ago

The possible sorting options are noted below:

+------------------------------+
| Default Sorting            v |
+------------------------------+
| Default Sorting              |
| Order by Resolved First      |
| Order by Open First          |
+------------------------------+

If you have anything other than this in mind, please share

wptech68 commented 7 years ago

+------------------------------+ | Default Sorting
+------------------------------+ | Default Sorting
| Order by Resolved First | Order by Open First
| Order by Updated date +------------------------------+

wptech68 commented 6 years ago

any update on this feature? currently, Im now with 170 tickets in 17 pages (10 per page) that are showing whatever in the first page, including resolved tickets , is hard to navigate looking for a specific ticket. Im now thinking to remove definitely the resolved tickets to stop them showing, but that is not the correct behaivour i guess :)

mayeenulislam commented 6 years ago

I'm afraid, no update just now. But we will prioritize this thread so that we can move for it ASAP, inshALLAH.

mayeenulislam commented 6 years ago

Filtering Tickets in admin panel using the following filters activated in version 0.5.0

Front End Support Desk query needs to be rewritten before activating sorting.