Koha/koha-tmpl/intranet-tmpl/prog/js/pages
Owen Leonard ef4306cc02
Bug 23885: Move staff client search results JavaScript into separate file
This patch moves most of the JavaScript embedded in results.tt into a
separate file. The JavaScript that remains on the page is everything
which requires processing by Template Toolkit. This is limited to
variable definition.

To test, apply the patch and perform a catalog search in the staff
client. On the results page, test that JavaScript functionality has not
been affected:

 - The search results toolbar should "float" as you scroll
 - Select all and Clear all
 - Default search term highlighting; Unhighlight and highlight controls
 - Adding and removing one or more items from the cart
 - Adding one or more items to a list
 - Placing one or more holds my making selections and clicking "Place
   hold"
 - Browse selected records
 - Z39.50 search (search form should be populated with your search
   terms)
 - "Show more" and "Show less" links in the facets sidebar
 - Book cover image services: Amazon, Coce, local covers, etc.
 - Open a patron record and click "Search to hold"
  - Perform a search and select one or more results
    - Test "Place hold" from the hold menu in the toolbar
    - Test "Place hold for..." from the hold menu in the toolbar
    - Test "Forget..." from the hold menu in the toolbar
 - In Tools -> Patron clubs, locate a club with enrolled members
   - From the "Actions" menu, select "Search to hold"
     - Perform a search and select one or more results
       - Test "Place hold" from the hold menu in the toolbar
       - Test "Place hold for..." from the hold menu in the toolbar
       - Test "Forget..." from the hold menu in the toolbar

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-01-29 09:05:01 +00:00
..
addbiblio.js
batchMod.js Bug 19490: Add a 'Holds' column to the items batchmodification tool 2018-11-05 14:41:04 +00:00
circulation.js Bug 20959: Style checkin form more like the checkout form, with collapsed settings panel 2019-07-02 09:17:36 +01:00
preferences.js Bug 24025: Make CodeMirror content searchable 2020-01-23 10:29:05 +00:00
results.js Bug 23885: Move staff client search results JavaScript into separate file 2020-01-29 09:05:01 +00:00
stockrotation.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
tags-review.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00