Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Backend Pagination forgets sorting #793

Closed
nicobayati opened this issue Sep 11, 2020 · 1 comment
Closed

[BUG] Backend Pagination forgets sorting #793

nicobayati opened this issue Sep 11, 2020 · 1 comment
Assignees
Milestone

Comments

@nicobayati
Copy link

Extension version

sf_event_mgt 4.3.1

Short problem description

In the backend module 'Events' I set the sort option to 'Startdate' and 'Descending' and click on 'Search'. The list is adjusted according to my sorting. If I now click on 'Next' ( ») in the list, the list "forgets" my sort order defined above and returns to the default sort order.

Steps to reproduce

  1. I have created some sample data with which you can understand the problem very well. 3 years long every month an event, and the event which is oldest also has the highest uid https://gist.github.com/nicobayati/c5e1a849ad03c5bd4ea664316242bfc9#file-gistfile1-txt
  2. Now select the above mentioned options: 'Sorting': 'Start Date' and 'Descending', now all events with start date from December 2020 to March 2020 are shown. (from top to bottom)
  3. If you now navigate in the pagination, the previously selected sorting is no longer applied. For example, the second page shows November 2018 to August 2019 (from top to bottom).

Expected behaviour

When using the pagination, I expect my selected sort order to be applied

It looks like this bug or a very similar bug has been fixes here in the past: #485

Server configuration

TYPO3 version: 9.5.20

PHP version: 7.2.31

@nicobayati nicobayati changed the title Backend Pagination Backend Pagination forgets sorting Sep 11, 2020
@derhansen derhansen self-assigned this Sep 11, 2020
@derhansen derhansen changed the title Backend Pagination forgets sorting [BUG] Backend Pagination forgets sorting Sep 11, 2020
@derhansen
Copy link
Owner

Thanks for your report. I already pushed a fix to the development branch and will backport it to version 4.x in the next release.

@derhansen derhansen added this to the 5.2.0 milestone Sep 12, 2020
derhansen added a commit that referenced this issue Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants