Bug 4215 - OPAC "Search for title in" can fail with trailing slashes in title
Summary: OPAC "Search for title in" can fail with trailing slashes in title
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: PC All
: PATCH-Sent (DO NOT USE) minor (vote)
Assignee: Chris Cormack
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-18 04:37 UTC by Jane Wagner
Modified: 2012-10-25 22:53 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
patch file (1.50 KB, application/octet-stream)
2010-02-18 16:47 UTC, Chris Cormack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 01:24:30 UTC


---- Reported by jwagner@ptfs.com 2010-02-18 16:37:44 ----

While configuring Search for Title In links, I found that some target sites can't process an incoming title search if the title being sent has a trailing slash:

History of the state of Maine /

If the same search is sent without the trailing slash, it works fine.  I modified opac-detail.pl to strip off the trailing slash (and space) for titles being sent to other sites.



---- Additional Comments From jwagner@ptfs.com 2010-02-18 16:47:33 ----

Created an attachment
patch file

Patch sent February 18, 2010



---- Additional Comments From gmcharlt@gmail.com 2010-02-18 17:15:39 ----

Patch pushed to HEAD. Please test and close.



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:24 UTC  ---

This bug was previously known as _bug_ 4215 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4215
Imported an attachment (id=1913)

Unknown operating system Windows 2000. Setting to default OS "All".
Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here: chris@bigballofwax.co.nz.
   Previous reporter was jwagner@ptfs.com.
The original assignee of this bug does not have
   an account here. Reassigning to the default assignee
   for the component, chris@bigballofwax.co.nz.
   Previous assignee was jwagner@ptfs.com.
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
Bug reassigned, setting status to "NEW".
   Previous status was "ASSIGNED".
The original submitter of attachment 1913 [details] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.