[Koha-bugs] [Bug 25639] Add search queries to HTML so queries can be retrieved via JS
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 3 16:54:23 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25639
ByWater Sandboxes <bws.sandboxes at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #106112|0 |1
is obsolete| |
--- Comment #16 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 107713
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107713&action=edit
Bug 25639: Add query strings to html
This development simply adds the contructed queries generated by Koha
to the HTML source. This is useful for integrations like the Hoopla plugin:
https://github.com/bywatersolutions/koha-plugin-hoopla
To test:
1 - Search on OPAC for "qwertyuiop"
2 - View the HTML source
3 - Find 'qwertyuiop' in the source, it is not easily accessible via JS
4 - Apply patch
5 - Repeat
6 - Note that now there are spans with data elements containing the queries
used by Koha
7 - Sign off
Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list