Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes
Nick Clemens cf93255428 Bug 25639: Add search query strings as global javascript variables
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 global variables with the query strings
7 - Add to OpacUserJs:
    console.log( query_desc );
    console.log( querystring );
    console.log( query_cgi );
8 - Reload page and confirm variables are warned in the JS console (Press F12)
9 - Sign off

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-08-31 16:10:25 +02:00
..
account-table.inc Bug 25010: Fix typo 'rewewal' in debit types 2020-04-03 14:26:35 +01:00
authorities-search-results.inc
av-build-dropbox.inc
biblio-title-head.inc
biblio-title.inc
bodytag.inc Bug 25765: Replace LoginBranchname and LoginBranchcode with use of Branches template plugin 2020-07-23 11:17:27 +02:00
calendar.inc
columns_settings.inc Bug 24156: move ColumnsSettings to TablesSettings 2020-06-25 10:51:59 +02:00
datatables.inc Bug 25909: Recent change to datatables JS in the OPAC causes errors 2020-07-16 15:33:29 +01:00
date-format.inc
doc-head-close.inc Bug 25351: Move cart-related strings out of opac-bottom.inc and into basket.js 2020-07-30 17:44:27 +02:00
doc-head-open.inc Bug 24732: Set DumpTemplateVars Dumper options for Indent and Sort 2020-03-02 10:08:31 +00:00
greybox.inc
holds-table.inc Bug 22672: Change <i> to <em> and <b> to <strong> in templates, includes, xslt 2020-06-29 12:37:02 +02:00
html_helpers.inc Bug 22880: Convert opacheader system preference to news block 2020-02-24 13:24:12 +00:00
i18n.inc
ill-availability-table.inc Bug 23173: (follow-up) Fix QA script errors 2020-04-06 11:05:14 +01:00
item-status-schema-org.inc
item-status.inc
js-date-format.inc Bug 24980: (follow-up) return '' when date is null 2020-05-01 08:14:34 +01:00
masthead-langmenu.inc Bug 25166: Add "aria-hidden = true" to Font Awesome icons in the OPAC 2020-04-29 17:28:04 +01:00
masthead-sco.inc Bug 25166: Add "aria-hidden = true" to Font Awesome icons in the OPAC 2020-04-29 17:28:04 +01:00
masthead.inc Bug 23797: (follow-up) Enable OpacLoginInstructions in header 2020-07-23 11:33:34 +02:00
navigation.inc
opac-authorities.inc
opac-bottom.inc Bug 25639: Add search query strings as global javascript variables 2020-08-31 16:10:25 +02:00
opac-detail-sidebar.inc Bug 26094: Add class to the "Suggest for purchase" button 2020-08-03 11:30:43 +02:00
opac-facets.inc Bug 25236: Fix semantic heading for opac-facets.inc 2020-06-24 15:05:02 +02:00
opac-note.inc Bug 22672: Change <i> to <em> and <b> to <strong> in templates, includes, xslt 2020-06-29 12:37:02 +02:00
opac-topissues.inc Bug 25236: Fix semantic heading for opac-topissues.inc 2020-06-24 15:05:02 +02:00
openlibrary-readapi.inc
overdrive-checkout.inc
overdrive-login.inc
page-numbers.inc Bug 25166: Add "aria-hidden = true" to Font Awesome icons in the OPAC 2020-04-29 17:28:04 +01:00
password_check.inc
patron-title.inc
recordedbooks-checkout.inc
resort_form.inc Bug 25014: Fix capitalization for "Call Number" in staff and OPAC sort options 2020-04-03 14:26:34 +01:00
shelfbrowser.inc Bug 26039: Focus and Scroll to ShelfBrowser on load 2020-08-19 09:29:49 +02:00
slip-print.inc
subtypes_unimarc.inc
title-actions-menu.inc Bug 25166: Add "aria-hidden = true" to Font Awesome icons in the OPAC 2020-04-29 17:28:04 +01:00
user-star-ratings.inc Bug 25110: (QA follow-up) Add aria-hidden="true" to FA icons 2020-04-29 17:04:51 +01:00
usermenu.inc
xslt-handler.inc