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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to