[Koha-bugs] [Bug 32172] New: Random biblionumber passed when clicking 'Z3950 SRU/Search' from the search results in staff client

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 10 21:58:53 CET 2022


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

            Bug ID: 32172
           Summary: Random biblionumber passed when clicking 'Z3950
                    SRU/Search' from the search results in staff client
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Staff Client
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

The code for Z3950 popup:
393 /* this function open a popup to search on z3950 server.  */
394 function PopupZ3950() {
395     if( strQuery ){
396        
window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=" +
biblionumber + strQuery,"z3950sear   
ch",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes');
397     }
398 }
399 


Picks a random biblionumber variable

Seems to get defined when images are enabled, presumably from
verify_cover_images

We shouldn't ever be replacing a biblio from the results page, so lets just
remove 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