- ๐บ๐ธUnited States rschletty
The code in the original post works fine for me in Drupal 6. I replaced the code in views_handler_field_counter.inc and now I have the Reverse option which works for my list of over 1200 members: https://www.topcatholicsongs.com/users
I have views-6.x-3.11 installed on my site.
Thank you, pol!
- ๐บ๐ธUnited States nicxvan
This needs an issue summary update.
@rschletty you might consider updating to a newer version of drupal. Drupal 6 had not received updates since 2017.
- ๐ฎ๐ณIndia abhijith s
Updated patch and created MR. Fixed the issue encountered with mini-pager in #33 โจ Add 'reverse' option to 'Global: View result counter' field Needs work
- ๐ณ๐ฑNetherlands Lendude Amsterdam
We shouldn't change the behaviour for the mini pager here, it is out of scope. The mini pager doesn't do a count query and it should stay that way. And if we would want to change that, it should be its own issue.
This needs tests, and upgrade path for the new setting and a test for the upgrade.
- ๐ฎ๐ณIndia abhijith s
Hi @lendude,
The behaviour of the mini-pager remains unchanged in the latest merge request. However, the previous patch #29 โจ Add 'reverse' option to 'Global: View result counter' field Needs work did not work correctly with the Views mini-pager configuration, as I previously mentioned in comment #33 โจ Add 'reverse' option to 'Global: View result counter' field Needs work . This issue has been addressed and resolved in the latest merge request.
Just to highlight, the Global: View result counter is already functioning with full and mini-pagers, as well as other pagination methodsโso comprehensive support is expected with reverse option as well.