View Issue Details

IDProjectCategoryView StatusLast Update
4746Composrcorepublic2021-12-26 08:54
ReporterAdam Edington Assigned ToChris Graham  
PrioritynormalSeveritytrivial 
Status resolvedResolutionfixed 
Product Version10.0.39 
Fixed in Version10.0.40 
Summary4746: Pagination does not include zone without a page refresh
DescriptionThis could be a symptom of something I've done along the way, but I'm 90% convinced it's a pagination glitch of some sort. Thought it was worth mentioning as it's been this way for a while and I cannot see where the issue would be. If a page refresh fixes the links to include the zone, it must be working just not when initially clicked.
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2021-12-25 16:53

administrator   ~7219

Last edited: 2021-12-25 16:58

Ok I can reproduce...

1) Have infinite scrolling off
2) Set it up so some non-default zone is having the catalogues module, via transparent redirection
3) Add lots of entries to the catalogue, or reduce the max-per-page setting
4) Do a pagination in a catalogue as viewed in the non-default zone
5) Observe the actual href's on the pagination point to the default zone for the catalogues module
6) Observe clicking the links do not appear to navigate you to that wrong zone (because the block contents is actually changing only via AJAX, not the whole page)

admin

2021-12-25 18:00

administrator   ~7220

Automated response: AJAX pagination does not respect correct zone

AJAX pagination should be the same as native pagination, but the AJAX backend powering it assumes the zone by looking at the page being paginated, and this may be an ambiguous check (if a page exists in multiple zones). Pass it in explicitly and respect if passed like that.

admin

2021-12-25 18:00

administrator   ~7221

Fixed in git commit 1f629a99d (https://gitlab.com/composr-foundation/composr/commit/1f629a99d - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

Adam Edington

2021-12-26 08:54

administrator   ~7222

6) I was being being taken to the wrong zone, however this hotfix has fixed that behaviour and everything is working as expected. Thanks.

Issue History

Date Modified Username Field Change
2021-12-24 21:22 Adam Edington New Issue
2021-12-25 14:56 Adam Edington Description Updated
2021-12-25 16:53 Chris Graham Note Added: 0007219
2021-12-25 16:58 Chris Graham Note Edited: 0007219
2021-12-26 08:54 Adam Edington Note Added: 0007222