[Koha-bugs] [Bug 10742] simple search to z39.50 search keeps index

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 21 11:08:01 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10742

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20409|0                           |1
        is obsolete|                            |

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
Created attachment 20529
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20529&action=edit
Bug 10742 - simple search to z39.50 search keeps index

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 at prosentient.com.au>

Patch works as described. This is much nicer than before. Thanks, Fridolyn!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list