| Summary: | Link to purchase suggestion needs &op=show added to the URL to work fully | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Ray Delahunty <raymund.delahunty> |
| Component: | Reports | Assignee: | Bugs List <koha-bugs> |
| Status: | NEW --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | ||
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
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.