[Koha-bugs] [Bug 11489] OPAC search results in 404 error when the only search result is supressed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 8 00:32:35 CEST 2014


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26061|0                           |1
        is obsolete|                            |
  Attachment #26062|0                           |1
        is obsolete|                            |

--- Comment #33 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 26889
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26889&action=edit
[PASSED QA] Bug 11489 - OPAC search results in 404 error when the only search
result is supressed

If hidelostitems is enabled, and the result of an opac search is a single lost
item,
then the opac will display a 404 error, rather than a "no results" screen.

Test Plan:
1) Catalog a record/item such that it is the only result for some search
   e.g. Give it the title 'zxcvb'
2) Enable hidelostitems
3) Mark this item as lost
4) Perform an OPAC search that should result in a redirect to this record
5) Notice you a redirected to a 404 error
6) Apply this patch
7) Repeat step 4
8) Note you new get a "No results found!" page instead

Signed-off-by: Christopher Brannon <cbrannon at cdalibrary.org>
Signed-off-by: Michot <nmichot at voila.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>

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


More information about the Koha-bugs mailing list