[Koha-bugs] [Bug 28196] New: 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 Apr 22 18:45:19 CEST 2021


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

            Bug ID: 28196
           Summary: In page anchors on additem.pl don't always go to the
                    right place
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: lucas at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

To recreate:

-Do a search within the staff client
-Click on any results and go to the detail page
-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'


This URL has the '#edititem' anchor in it, but since it is in between 2 other
params and the '&searchid=' param has been appended after the anchor it doesn't
work. 

If you edit the URL manually to be this order it will work: 

/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=55&itemnumber=117&searchid=scs_1619109565224#edititem


The anchor must go last. 

This is an annoyance to librarians, particularly for records with lots items
attached to it.

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


More information about the Koha-bugs mailing list