]> git.koha-community.org Git - koha.git/commit
Bug 14189: Use keep_text for the authority header
authorJonathan Druart <jonathan.druart@koha-community.org>
Tue, 26 May 2015 10:10:50 +0000 (12:10 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 7 Jul 2015 18:37:19 +0000 (15:37 -0300)
commit2d877b93d6d3bf479e7a089f7aeff6ee5cdf4da3
treee7b75120ff84784fe3012cdb438ab73bc1d0d4c4
parentc656cff676b01b45b2b4057c776f963df37d4bd6
Bug 14189: Use keep_text for the authority header

includes/authorities-search.inc already used the same behavior but with
another method.
For consistency it's better to have only 1 way to do that.

Test plan:
Go on the authority home page
Fill the input in the header and click on tab 'search all headings' and
'keyword search' and confirm that the text you have filled is kept.

I tested after applying the patch and the text is kept after removing the
part from authorities-search.inc. I also tried applying that jQuery solution
instead of my JS loop but could not get it to work for the other pages with
a reasonable ammount of effort.

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Eivin Giske Skaaren <eskaaren@yahoo.no>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc