results per page unexpected reset

(from github.com/freestyle68)
Hi,

with the new version there is an unexpected behavior:

when I set for example 20 results per page and then I click on a file type filter, the number reset to 10.

Instead, the sort and languages filters on search options remains unchanged after selecting a file type (correctly).
Why this discrepancy?

(from github.com/marevol)
I could not reproduce it…

(from github.com/freestyle68)
look at the animated gif

(from github.com/marevol)
I could not reproduce it in my local environment, but I improved session handling in #1566.

(from github.com/freestyle68)
This solved, now the frontend behavior is much improved.

Thank you!