Koha/catalogue
Fridolyn SOMERS 0ab71d3264 Bug 10742: improve converting simple search to Z39.50 search
In intranet, when search does not return results, there is a button
to perform the same search on Z39.50 servers.  This works well when
coming from advanced search.  But when using simple search from header,
in the Z39.50 search box "kw,wrdl" is added to the operand in title.

This patch simply adds kw as default value when the cgi does not have
idx parameter.

Test plan :
- In intranet, perform a search from header that does not return any
  result. For example "afalseword"
- Click on "Z39.50 Search"
=> you get a popup with the searched word in title. For example:
    Title: afalseword
- Go to advanced search page
- Enter the same word into first input and submit
- Click on "Z39.50 Search"
=> you get a popup with the searched word in title.

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Small change, fixes an annoying problem.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-09-07 18:26:15 +00:00
..
cardview.pl Bug 4330 : Adding some copyright BibLibre statements 2011-03-21 10:57:20 +13:00
detail.pl Bug 10404: add previous/next browsing to staff client 2013-08-09 15:07:39 +00:00
export.pl Bug 9665: QA follow up fixing tabs 2013-06-17 11:25:40 -07:00
getitem-ajax.pl Bug 7175: Allow to choose which items to receive 2012-05-21 17:46:07 +02:00
image.pl Bug 8255: allow local cover images to be cached 2012-06-25 18:12:29 +02:00
imageviewer.pl Bug 5790 - Prevent deletion of records with holds 2013-02-07 07:29:45 -05:00
ISBDdetail.pl Bug 10404: add previous/next browsing to staff client 2013-08-09 15:07:39 +00:00
issuehistory.pl Bug 4321: clean C4::Biblio::GetBiblio and uses 2012-09-18 12:11:54 +02:00
labeledMARCdetail.pl Bug 10404: add previous/next browsing to staff client 2013-08-09 15:07:39 +00:00
MARCdetail.pl Bug 10404: add previous/next browsing to staff client 2013-08-09 15:07:39 +00:00
moredetail.pl Bug 10404: add previous/next browsing to staff client 2013-08-09 15:07:39 +00:00
search.pl Bug 10742: improve converting simple search to Z39.50 search 2013-09-07 18:26:15 +00:00
showmarc.pl Bug 9684 : Correct path to compact.xsl 2013-04-27 07:08:13 -04:00
updateitem.pl Bug 6296: allow users to be authenticated by SSL client certs 2012-03-19 17:02:44 +01:00