Signalen / frontend

Frontend for Signalen, an application that helps cities manage and prioritize nuisance reports.
https://signalen.org
Mozilla Public License 2.0
10 stars 4 forks source link

Sorting list with results does not work #115

Closed someren closed 2 years ago

someren commented 3 years ago

Describe the bug After applying a filter in Signalen you get a list with results. It should be possible to sort the results on ID (lowest to highest or reverse), Date, Stadsdeel etc. When clicking on the kolom name like ID it does not sort. An arrow appears but the list is not sorted in any way. Could you please fix this?

To Reproduce Steps to reproduce the behavior:

  1. Search for e-mailadres
  2. Result is presented in a list
  3. Click on "ID" to sort the list from highest ID to lowest.
  4. Nothing happens
  5. Click on "Datum en tijd", "Stadsdeel" or even "Subcategorie" to sort the list
  6. Still nothing happens.

Expected behavior I expect the list with results to sort from highest to lowest or in alphabetical order after clicking on the kolom name.

Screenshots Sorteren werkt niet

Desktop (please complete the following information):

lboekholt commented 3 years ago

Sorting on "stadsdeel" never works. The list that appears on tab "Afhandelen" does not sort when you click on "Stadsdeel".

someren commented 3 years ago

Additional information: In Signalen Amsterdam sorting on Stadsdeel is not an issue. This is only an issue at 's-Hertogenbosch?

boris-arkenaar commented 2 years ago

Sorting seems to be working on https://s-hertogenbosch.signalen.dev Also after applying an email address as filter. Sorting the 'Stadsdeel' column indeed still never works.

boris-arkenaar commented 2 years ago

Sorting on 'Stadsdeel' (district) does not seem to be supported by the backend at the moment. Created an issue there Signalen/backend#165 Closing this issue.