Bug 36032

Summary: The "Next" pagination button has a double instead of a single angle
Product: Koha Reporter: Raphael Straub <raphael.straub>
Component: OPACAssignee: Raphael Straub <raphael.straub>
Status: Pushed to oldoldstable --- QA Contact: Emily Lamancusa (emlam) <emily.lamancusa>
Severity: trivial    
Priority: P5 - low CC: barbara.johnson, emily.lamancusa, fridolin.somers, lucas, phil
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
24.05.00,23.11.04,23.05.10
Circulation function:
Bug Depends on: 5287    
Bug Blocks:    
Attachments: Bug 36032: Use a single angle in the "Next" button
Bug 36032: Use a single angle in the "Next" button
Bug 36032: Use a single angle in the "Next" button

Description Raphael Straub 2024-02-08 08:53:24 UTC
The "Next" pagination button in the OPAC result list has a double angle. It should have a single angle as the "Previous" button.
Comment 1 Raphael Straub 2024-02-08 09:04:13 UTC
Created attachment 161878 [details] [review]
Bug 36032: Use a single angle in the "Next" button

The "Next" pagination button in the OPAC result list has a double angle
whereas the "Previous" button only has a single angle. This patch fixes
that error.

To test:
1) Do a search in the OPAC with more than one page of results.
2) Observe that the "Next" button has a double angle whereas the
   "Previous" button has only a single angle.
3) Apply the patch.
4) Repeat steps 1 and 2.
5) Verify that the "Next" button now has a single angle.

Sponsored-by: Karlsruhe Institute of Technology (KIT)
Comment 2 ByWater Sandboxes 2024-02-08 14:59:50 UTC
Created attachment 161927 [details] [review]
Bug 36032: Use a single angle in the "Next" button

The "Next" pagination button in the OPAC result list has a double angle
whereas the "Previous" button only has a single angle. This patch fixes
that error.

To test:
1) Do a search in the OPAC with more than one page of results.
2) Observe that the "Next" button has a double angle whereas the
   "Previous" button has only a single angle.
3) Apply the patch.
4) Repeat steps 1 and 2.
5) Verify that the "Next" button now has a single angle.

Sponsored-by: Karlsruhe Institute of Technology (KIT)
Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Comment 3 Emily Lamancusa (emlam) 2024-02-21 20:32:14 UTC
Created attachment 162325 [details] [review]
Bug 36032: Use a single angle in the "Next" button

The "Next" pagination button in the OPAC result list has a double angle
whereas the "Previous" button only has a single angle. This patch fixes
that error.

To test:
1) Do a search in the OPAC with more than one page of results.
2) Observe that the "Next" button has a double angle whereas the
   "Previous" button has only a single angle.
3) Apply the patch.
4) Repeat steps 1 and 2.
5) Verify that the "Next" button now has a single angle.

Sponsored-by: Karlsruhe Institute of Technology (KIT)
Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Comment 4 Emily Lamancusa (emlam) 2024-02-21 20:32:45 UTC
Good catch! Thanks for the fix. Passing QA
Comment 5 Katrin Fischer 2024-03-08 17:59:50 UTC
Pushed for 24.05!

Well done everyone, thank you!
Comment 6 Fridolin Somers 2024-03-11 10:35:57 UTC
Introduced by Bug 5287
Comment 7 Fridolin Somers 2024-03-11 10:40:27 UTC
Looks like there is the same issue in opac-authoritiessearchresultlist.tt :

https://git.koha-community.org/Koha-community/Koha/src/commit/5a188651e484517f28367e44183b680fa77ad77b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt#L33

Can you also fix please ?
Or open a new report.
Comment 8 Raphael Straub 2024-03-11 11:42:03 UTC
(In reply to Fridolin Somers from comment #7)
> Looks like there is the same issue in opac-authoritiessearchresultlist.tt :
> 
> https://git.koha-community.org/Koha-community/Koha/src/commit/
> 5a188651e484517f28367e44183b680fa77ad77b/koha-tmpl/opac-tmpl/bootstrap/en/
> modules/opac-authoritiessearchresultlist.tt#L33

I already saw this, but I don't know where this is used or if this is used at all. If I search for authorities I get a result list that uses the other pagination bar:

https://git.koha-community.org/Koha-community/Koha/src/commit/5a188651e484517f28367e44183b680fa77ad77b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-authoritiessearchresultlist.tt#L74
Comment 9 Lucas Gass (lukeg) 2024-03-19 20:57:44 UTC
Backported to 23.05.x for 23.05.10
Comment 10 Phil Ringnalda 2024-11-15 07:08:57 UTC
This was pushed for 23.11.04 back in March, so it has been pushed to everything above and including the present oldoldstable.
Comment 11 Phil Ringnalda 2024-11-15 21:49:57 UTC
(In reply to Fridolin Somers from comment #7)
> Looks like there is the same issue in opac-authoritiessearchresultlist.tt :
> 
> https://git.koha-community.org/Koha-community/Koha/src/commit/
> 5a188651e484517f28367e44183b680fa77ad77b/koha-tmpl/opac-tmpl/bootstrap/en/
> modules/opac-authoritiessearchresultlist.tt#L33
> 
> Can you also fix please ?
> Or open a new report.

Dead code reintroduced in a rebase failure, filed bug 38462 for removing it.