Koha/koha-tmpl/intranet-tmpl/prog/en/includes
Fridolyn SOMERS 85642ededa Bug 7484: keep selected values when changing search type on authority search form
1) I'm on the "Search authorities" tab. I select an authority type,
   then change the active tab. The type change is lost.
2) I'm on a tab and type a search pattern, then change tab, the string
   is lost.

This behaviour is logical, given the fact that we're using tabs, but it
would be more practical to keep the typed informations when the user
changes the search mode.

This patch add a few JQuery code to synchronise inputs between all
tabbed authorities search forms.

Test plan :
- Go to Authorities home page : cgi-bin/koha/authorities/authorities-home.pl
- In toolbar, "Search main heading" is selected
- Change all inputs : authotity type, operator, term, and sort order
- Click on "Search all headings" tab
=>  Inputs are the same has previous tab
- Click on "Keyword search" tab
=>  Inputs are the same has previous tab

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Amended patch: Explicitly declare 2 new variables used.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Works as described, Firebug doesn't show any problems with
the Javascript.
Could be useful for other tabbed searches like the start page
as well.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-11-27 18:30:35 +00:00
..
csv_headers/acqui Bug 7298: (follow-up) fix translation for CSV strings 2013-10-31 15:51:45 +00:00
virtualshelves/merge
acquisitions-add-to-basket.inc Bug 10737: Add "Add to basket" link on vendor search results page 2013-09-05 15:28:31 +00:00
acquisitions-menu.inc
acquisitions-search.inc Bug 10115 - Hiding advanced search in Orders search tab removes plus button 2013-04-26 07:53:49 -04:00
acquisitions-toolbar.inc Bug 9674 - Replace YUI buttons and menu on acquisitions pages with Bootstrap 2013-03-02 12:22:07 -05:00
additem.js.inc Bug 10576: make strings in additem.js accessible to translation 2013-07-22 15:40:21 +00:00
admin-menu.inc Bug 7440 - Remove NoZebra vestiges 2013-03-19 21:17:04 -04:00
auth-finder-search.inc Bug 9282: (follow-up) add authtypecode to authority auto-completion search 2013-10-10 22:26:45 +00:00
authorities-search-results.inc Bug 10335: display translated forms of headings in UNIMARC authorities correctly 2013-10-10 19:14:44 +00:00
authorities-search.inc Bug 7484: keep selected values when changing search type on authority search form 2013-11-27 18:30:35 +00:00
authorities-toolbar.inc Bug 10096: (follow-up) rename button on authorities toolbar 2013-10-04 15:06:15 +00:00
authorities.inc
authorities_js.inc Bug 5202: merge authorities from the authority file and reservoir 2013-10-10 21:32:27 +00:00
biblio-default-view.inc
biblio-view-menu.inc
borrower_debarments.inc Bug 11283: make restriction type translatable 2013-11-27 16:47:42 +00:00
browser-strings.inc Bug 10404: add previous/next browsing to staff client 2013-08-09 15:07:39 +00:00
budgets-active-currency.inc
budgets-admin-search.inc
budgets-admin-toolbar.inc Bug 9628 - Replace YUI buttons and menus on budgets administration pages with Bootstrap 2013-02-18 08:24:37 -05:00
calendar.inc Bug 9508: Standardize the dateformat value from C4::Auth 2013-05-20 09:05:01 -07:00
cat-menu.inc
cat-search.inc
cat-toolbar.inc Bug 9780: (follow-up) suppress line feeds in javascript 2013-11-01 00:00:28 +00:00
cataloging-search.inc
checkin-search.inc
checkouts-table-footer.inc
circ-menu.inc Bug 9261: (follow-up) fix various issues identified during QA 2013-11-15 00:22:11 +00:00
circ-menu.tt Bug 10636 - patronimage should have borrowernumber as PK, not cardnumber 2013-10-14 21:08:02 +00:00
circ-search.inc
cities-admin-search.inc
contracts-admin-search.inc
currencies-admin-search.inc
datatables-strings.inc Bug 5766 - Add configuration for excluding articles from DataTables sorting 2013-07-08 15:37:02 +00:00
datatables.inc Bug 10649 - Upgrade DataTables and move scripts out of theme directory 2013-09-05 15:43:36 +00:00
date-format.inc Bug 9508: Standardize the dateformat value from C4::Auth 2013-05-20 09:05:01 -07:00
doc-head-close-receipt.inc Bug 10592: fix display of favicon 2013-07-22 14:00:23 +00:00
doc-head-close.inc Bug 10592: fix display of favicon 2013-07-22 14:00:23 +00:00
doc-head-open.inc
facets.inc Bug 11099: fixed bug in Label in Staff Client - series on facets not easily css selectable 2013-10-22 05:21:22 +00:00
file-upload.inc
form-blocks.inc
greybox.inc
guided-reports-view.inc
header.inc Bug 10888: Don't hide authorities module from users who lack permission to edit authorities 2013-09-21 17:59:05 +00:00
help-bottom.inc
help-top.inc Bug 10592: fix display of favicon 2013-07-22 14:00:23 +00:00
home-search.inc
installer-doc-head-close.inc Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
intranet-bottom.inc
intranetstylesheet.inc Bug 10052 Followup for edithelp.tt and help-top.inc 2013-05-23 08:55:11 -07:00
labels-menu.inc
labels-toolbar.inc Bug 9636 - Replace YUI buttons on labels pages with Bootstrap 2013-02-18 08:57:34 -05:00
letters-search.inc
members-menu.inc
members-toolbar.inc Bug 11097 - Hide duplicate patron button if logged in user lacks CAN_user_borrowers permission 2013-10-22 12:48:39 +00:00
merge-record-strings.inc Bug 10650 - export merge-record.inc javascript into a file 2013-09-16 16:17:34 +00:00
merge-record.inc Bug 10650 - export merge-record.inc javascript into a file 2013-09-16 16:17:34 +00:00
messaging-preference-form.inc Bug 10511: (follow-up) jQuery .removeAttr() has only one parameter 2013-08-12 14:12:38 +00:00
page-numbers.inc
patron-search-box.inc Bug 10406: memove div and more obsolete CSS related to YUI autocomplete 2013-06-12 07:24:30 -07:00
patron-search.inc Bug 8845 - Add ability search patrons by date of birth - Add tooltip 2013-05-30 08:20:08 -07:00
patron-title.inc
patron-toolbar.inc Bug 9772 - Display Norwegian chars correctly in the patron category dropdown 2013-03-20 08:02:52 -04:00
patroncards-errors.inc Bug 9924: (follow-up) ensure that correct error message is displayed 2013-09-08 19:19:50 +00:00
patroncards-menu.inc
patroncards-toolbar.inc Bug 9698 - Replace YUI buttons on patron card creator manage toolbar with Bootstrap 2013-03-07 09:52:20 -05:00
patrons-admin-search.inc
popup-bottom.inc
prefs-admin-search.inc
prefs-menu.inc
printers-admin-search.inc
quotes-toolbar.inc Bug 9645 - Replace YUI buttons on the quotes management page with Bootstrap 2013-02-18 09:09:57 -05:00
quotes-upload-toolbar.inc Bug 9645 - Replace YUI buttons on the quotes management page with Bootstrap 2013-02-18 09:09:57 -05:00
reports-menu.inc
reports-toolbar.inc Bug 9625 - Replace YUI buttons and menus on reports pages with Bootstrap 2013-02-20 08:27:15 -05:00
resort_form.inc
roadtype-admin-search.inc
search_indexes.inc Bug 10755 - Add "Keyword as Phrase" to staff client advanced search indexes 2013-09-04 14:25:47 +00:00
serials-menu.inc Bug 7688: Change subscription numbering pattern and frequencies 2013-10-30 00:29:38 +00:00
serials-search.inc
serials-toolbar.inc Bug 9627 - Replace YUI buttons and menus on serials pages with Bootstrap 2013-02-18 08:22:59 -05:00
stopwords-admin-search.inc
subscriptions-search.inc Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
subtypes_unimarc.inc Bug 11189: Rename "Print" label in UNIMARC advanced search 2013-11-08 16:48:42 +00:00
suggestions-add-search.inc
tools-item-action.inc Bug 7131: teach MARC import how to overlay items 2013-10-30 04:31:07 +00:00
tools-menu.inc Bug 8015: (follow-up) fix various issues (squashed patch) 2013-10-31 22:49:45 +00:00
tools-nomatch-action.inc
tools-overlay-action.inc
validator-strings.inc Bug 6209 follow-up, make strings translatable 2013-03-23 00:12:59 -04:00
vendor-menu.inc Bug 8913 [Revised] Improve acquisitions navigation 2013-02-20 09:17:21 -05:00
virtualshelves-toolbar.inc Bug 9621 - Replace YUI menu on lists pages with Bootstrap 2013-02-18 08:03:42 -05:00
z3950-admin-search.inc Bug 10307 - z39.50 server search tab shows z390.50 2013-06-04 11:41:10 -07:00