[Bug 39251] New: Link to purchase suggestion needs &op=show added to the URL to work fully
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39251 Bug ID: 39251 Summary: Link to purchase suggestion needs &op=show added to the URL to work fully Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Reports Assignee: koha-bugs@lists.koha-community.org Reporter: r.delahunty@arts.ac.uk QA Contact: testopia@bugs.koha-community.org To compose the link to a specific suggestion so that clicking on it takes the user right into the suggestion, it is necessary to add &op=show to the end of the url (as in cgi-bin/koha/suggestion/suggestion.pl?suggestionid=5&op=show). This is unlike any other id-based url I know (as in cgi-bin/koha/catalogue/detail.pl?biblionumber=1658434 for example). As SHOW is an SQL keyword, writing the CONCAT statement was tricky, but this worked: [...]suggestionid=', suggestionid, '&op=',CONCAT('sh','ow'). Ideally the link would work like other id-based urls in Koha, and not need the 'show' string added. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org