[Koha-bugs] [Bug 28196] In page anchors on additem.pl don't always go to the right place

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 24 14:48:13 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28196

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #122352|0                           |1
        is obsolete|                            |

--- Comment #9 from David Nind <david at davidnind.com> ---
Created attachment 122384
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122384&action=edit
Bug 28196: make sure URL hash is appended last

TO test:
1 Do a search within the staff client
2 Click on any results and go to the detail page
3 Click the edit button on any item in that record, it should take you to a URL
like this:
'/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=55&itemnumber=117#edititem&searchid=scs_1619109565224'
4 Apply patch
5 Do steps 1 & 2 again
Click the edit button on any item in that record, it should take you to a URL
like this:
'/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=55&itemnum   
ber=117&searchid=scs_1619109565224#edititem'
6. If they URL hash is last the anchor should work and you'll be placed on the
h2 element with and ID of edititem

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list