Koha/koha-tmpl/intranet-tmpl/prog/en/includes
Owen Leonard ce6ec1e7fa Bug 20864: Only set bibs_selected cookie when BrowseResultSelection is activated
This patch adds a system preference check around the call to the
JavaScript include which sets the bibs_selected cookie. With
BrowseResultsSelection disabled, the cookie should never be set.

To test you should be using a browser with a tool for inspecting
cookies. View the cookies for your Koha domain under each of these
conditions, clearing cookies between each step:

Without the patch applied:

 - With  BrowseResultSelection enabled, search for any item. Your cookie
   tool should report that you have a bibs_selected cookie stored.
 - With BrowseResultSelection disabled, search for any item. You should
   have a bibs_selected cookie.

With the patch applied:

 - With the BrowseResultSelection system preference enabled, search for
   any item. Your cookie tool should report that you have a
   bibs_selected cookie stored.
 - With BrowseResultSelection disabled, search for any item. You should
   have no bibs_selected cookie.

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-06-22 20:16:48 +00:00
..
catalogue
csv_headers
modals Bug 18327: Rename submit button with 'OK' 2018-04-19 16:37:21 -03:00
virtualshelves/merge
account_offset_type.inc Bug 2696: Fine payments should show what was paid for 2018-04-24 14:01:44 -03:00
accounttype.inc Bug 2696: Fine payments should show what was paid for 2018-04-24 14:01:44 -03:00
acquisitions-add-to-basket.inc
acquisitions-menu.inc
acquisitions-search.inc
acquisitions-toolbar.inc
additem.js.inc
admin-items-search-field-form.inc
admin-menu.inc Bug 20617: Add 'Search Engine configuration' link to administration menu 2018-04-23 14:22:16 -03:00
adv-search.inc
auth-finder-search.inc
authorities-search-results.inc
authorities-search.inc
authorities-toolbar.inc
authorities.inc
authorities_js.inc
av-build-dropbox.inc
biblio-default-view.inc
biblio-view-menu.inc Bug 20918: Fix left-side navigation on the checkout history page 2018-06-15 10:18:28 +00:00
blocked-fines.inc
blocking_errors.inc Bug 20659: Fix blocking errors display 2018-04-25 16:52:07 -03:00
borrower_debarments.inc
branch-selector.inc
browser-strings.inc
budgets-active-currency.inc
budgets-admin-search.inc
budgets-admin-toolbar.inc
calendar.inc
cat-menu.inc
cat-search.inc
cat-toolbar.inc
catalog-strings.inc
cataloging-search.inc
cateditor-ui.inc Bug 20761: Fix some js includes in rancor 2018-05-29 14:16:56 +00:00
cateditor-widgets-marc21.inc Bug 20700: MARC21 add/update leader/007/008 codes 2018-06-08 09:48:12 -04:00
checkin-search.inc Bug 14902 - Add qualifier menu to staff side "Search the Catalog" 2016-07-08 13:57:59 +00:00
checkouts-table-footer.inc
checkouts-table.inc
circ-menu.inc Bug 20515: (follow-up) Add missing CAN_user_ill 2018-04-16 13:59:34 -03:00
circ-nav.inc
circ-patron-search-results.inc
circ-search.inc
cities-admin-search.inc
columns_settings.inc Bug 18791: Export visible columns only 2018-04-13 13:55:22 -03:00
contracts-admin-search.inc
country-list.inc
currencies-admin-search.inc
datatables.inc Bug 18791: (follow up) Fix translation of copy messages 2018-04-13 13:55:22 -03:00
date-format.inc
delimiter_text.inc
doc-head-close-receipt.inc Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
doc-head-close.inc Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
doc-head-open.inc
empty_line.inc
facets.inc
form-blocks.inc
format_price.inc
greybox.inc Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
guided-reports-view.inc
header.inc Bug 2426: Remove deprecated management permission 2018-06-08 12:17:25 +00:00
help-bottom.inc
help-top.inc Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
home-search.inc
html_helpers.inc Bug 19289: Use the ACQ framework to display bibliographic details 2018-04-11 16:45:20 -03:00
ill-toolbar.inc Bug 20515: (follow-up) Add missing CAN_user_ill 2018-04-16 13:59:34 -03:00
installer-doc-head-close.inc
installer-strings.inc
intranet-bottom.inc
intranetstylesheet.inc Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
js_includes.inc Bug 20864: Only set bibs_selected cookie when BrowseResultSelection is activated 2018-06-22 20:16:48 +00:00
labels-toolbar.inc
langmenu-staff-top.inc
letters-search.inc
member-alt-address-style-de.inc
member-alt-address-style-fr.inc
member-alt-address-style-us.inc
member-alt-contact-style-de.inc
member-alt-contact-style-fr.inc
member-alt-contact-style-us.inc
member-display-address-style-de.inc
member-display-address-style-fr.inc
member-display-address-style-us.inc
member-display-alt-address-style-de.inc
member-display-alt-address-style-fr.inc
member-display-alt-address-style-us.inc
member-main-address-style-de.inc
member-main-address-style-fr.inc
member-main-address-style-us.inc
members-menu.inc
members-toolbar.inc Bug 3886: Fix mismatch of required permissions for printing slips 2018-05-29 13:52:34 +00:00
merge-record-strings.inc
merge-record.inc
messaging-preference-form.inc
nl-search-form.tt
noadd-warnings.inc
onboarding_messages.inc
page-numbers.inc
password_check.inc
patron-article-requests.inc
patron-search-box.inc
patron-search.inc
patron-title.inc Bug 20981: Fix organization name when displaying patron's info 2018-06-22 13:16:44 +00:00
patron-toolbar.inc
patroncards-errors.inc
patroncards-toolbar.inc
patrons-admin-search.inc
permissions.inc Bug 2426: Remove deprecated management permission 2018-06-08 12:17:25 +00:00
popup-bottom.inc
prefs-admin-search.inc
prefs-menu.inc Bug 19538: Move EnableAdvancedCatalogingEdtor from 'Labs' to 'Cataloging' 2018-04-11 16:45:09 -03:00
quotes-toolbar.inc
quotes-upload-toolbar.inc
reports-menu.inc
reports-toolbar.inc Bug 9634: Allow for combining same paraneters in SQL reports 2018-04-11 16:45:08 -03:00
resort_form.inc
rotating-collections-toolbar.inc
search_indexes.inc
select2.inc Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
serials-menu.inc
serials-search.inc
serials-toolbar.inc
slip-print.inc
strings.inc Bug 20343: Put translatable strings in strings.tt 2018-04-19 12:32:20 -03:00
subscriptions-search.inc
subtypes_unimarc.inc
suggestions-add-search.inc
timepicker.inc
tools-item-action.inc
tools-menu.inc Bug 11317: (QA follow-up) Change tool name to be more general 2018-05-03 13:26:50 -03:00
tools-nomatch-action.inc
tools-overlay-action.inc
validator-strings.inc
vendor-menu.inc
virtualshelves-toolbar.inc
wysiwyg-systempreferences.inc Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
z3950-admin-search.inc
z3950_search.inc