]> git.koha-community.org Git - koha.git/commit
Bug 11369: (follow-up) generate searchid in browser.js
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 26 Feb 2014 16:14:04 +0000 (17:14 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 7 May 2014 16:33:23 +0000 (18:33 +0200)
commit4e3a5051e6fd0ed63bf611ec697aecd4139d6b5a
treee3db7cb3387c44148aa47a225373e8dfd239ebac
parent7ee0085b2ea8a33f25d731a4239f93c7be244219
Bug 11369: (follow-up) generate searchid in browser.js

The search browser feature uses nearly only the browser.js file.
That is why I propose to move the searchid generation from search.pl
to browser.js.
We then use Date.getTime() to use current timestamp as searchid,
prefixed by 'scs_' like before.

Test by using test plan of main patch :
Too many search cursor cookies overflow HTTP-header size, when
making multiple searches in the staff client

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes tests and QA script.
Tested the browse functionality in staff by using the different
options (back to results, next, previous, etc) and the batch
modifications for items. An old cookie can cause a Javascript error,
but after restarting the browser/deleting cookies it all works
correctly.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit c4f17650132c9b74aa56c40a3a2bec2bdbc4477e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
catalogue/search.pl
koha-tmpl/intranet-tmpl/js/browser.js