Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Nick Clemens 022330b8d2
Bug 27697: Only preopulate search when we have found a single biblio
This patch uses the url parameter we created in 23475 to determine whether
we should populate the search bar or not

Note - a bookmark with this param will still populate search term with last search

To test:
1 - Search staff client for 'cat'
2 - Browse to a patrons checkouts and click on a title, or just go directly to a details page:
    http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=2850
3 - Search bar says 'cat'
4 - Apply patch
5 - Repeat 1-2
6 - Search bar is not populated
7 - Search "dalek war box set" or a term that finds a single record in your instance
8 - Search bar is populated
9 - Note url like: http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=2850&found1=1

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-06-02 13:40:15 -03:00
..
acqui Bug 30772: Terminology: Replace instances of "reserve" with "hold" 2022-06-01 16:00:00 -03:00
admin Bug 30786: Fix capitalization in advanced search system preferences 2022-06-01 16:09:07 -03:00
authorities Bug 30740: Link to authorities 'used in' should not use equal 2022-05-16 11:20:09 -10:00
basket
batch
catalogue Bug 27697: Only preopulate search when we have found a single biblio 2022-06-02 13:40:15 -03:00
cataloguing Bug 30797: Add the calendar.inc include to addbiblio.tt 2022-05-18 17:22:09 -10:00
circ Bug 30772: Terminology: Replace instances of "reserve" with "hold" 2022-06-01 16:00:00 -03:00
clubs
course_reserves Bug 30774: Typo: i %sEdit %sReserve %s 2022-06-01 16:01:01 -03:00
errors
ill Bug 29648: (follow-up) Add missing raw filter 2022-04-27 11:20:45 -10:00
installer
labels Bug 30629: fix <span> in title of some pages 2022-06-01 16:28:28 -03:00
mana
members Bug 30837 - Fix table width on 'Print summary' 2022-05-31 09:07:58 -03:00
offline_circ
onboarding
patron_lists Bug 29648: patron list table - normal 2022-04-27 11:20:44 -10:00
patroncards Bug 30629: fix <span> in title of some pages 2022-06-01 16:28:28 -03:00
plugins
pos Bug 30139: Fix javascript moneyFormat to be compatible with FR format 2022-05-13 15:41:55 -10:00
recalls Bug 30722: Typo in overdue recalls template 2022-05-09 10:02:35 -10:00
reports Bug 30632: Fix report author display in list of saved reports 2022-05-03 11:19:50 -10:00
reserve Bug 30828: Remove useless 'type' parameter in placerequest.pl 2022-06-01 16:05:14 -03:00
reviews
rotating_collections
serials Bug 23352: (follow-up) Fixes for QA review 2022-05-10 15:17:17 -10:00
services
suggestion Bug 30510: Add Patron reason column to suggestion tables 2022-05-10 15:17:18 -10:00
tags
test
tools Bug 29828: Prevent additional content to be created without default 2022-05-31 08:51:36 -03:00
virtualshelves
about.tt Bug 28998: (follow-up) Add warning on about for missing key 2022-05-04 05:18:31 -10:00
auth.tt Bug 29925: Add a password reset page for expired passwords 2022-05-06 10:33:09 -10:00
intranet-main.tt