okfde / froide

Freedom Of Information Portal
MIT License
356 stars 86 forks source link

[bug] search dropped when paginating #682

Closed veni-vidi-code closed 1 year ago

veni-vidi-code commented 1 year ago

When searching the pagination link does not include the search tearm and some other information anymore.

Steps to Reproduce:

Excpected outcome: https://fragdenstaat.de/anfragen/?page=2&q=operation&status=&jurisdiction=bund&campaign=-&category=gesundheit&publicbody=&tag=&user=&first_after=&first_before=&sort= Actual outcome: https://fragdenstaat.de/anfragen/?page=2&jurisdiction=bund&category=gesundheit

Manual going to the second page still works as expected.

This is most likely due to https://github.com/okfde/froide/commit/e514f33e792886fca54b45578da73c750f009c9b which was a fix to #678 but seems to have broken the rest of the search

Tested with Chrome 112.0.5615.121

bezin commented 1 year ago

Hi all,

this issue was also a topic in the fragdenstaat.de forum. The jurisdiction is now correctly applied to the pagination links, but the „no campagin“ is still lost.