]> git.koha-community.org Git - koha.git/commit
Bug 9857: Did you mean? uses wrong punctuation in search links
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Fri, 4 Dec 2015 00:17:50 +0000 (01:17 +0100)
committerKatrin Fischer <katrin.fischer.83@web.de>
Thu, 5 Oct 2017 21:31:34 +0000 (23:31 +0200)
commit2b82ff17ee6273a9dabec230a1fb4ccec82734a2
treecbe34c2e170df2ce6f9c264f3830c4dee835473e
parent255cf73ae9334698e226fd0ab392cd8a140fcc70
Bug 9857: Did you mean? uses wrong punctuation in search links

The link changes the search links generated by the plugins
from an=authid to an:authid, as suggested by Jared on the
bug report.

- Turn on the AuthorityFile und ExplodedTerms  plugins
  for the OPAC from the "Did you mean" section of the
  administration module
- Search a term in your OPAC where one or several
  authorities exist.
  A last name or a place name might work well.
- Verify that there are suggestions displayed on top of
  your result list.
- Verify that the link created is something like:
  /cgi-bin/koha/opac-search.pl?q=an=14084
- Apply patch.
- Verify the link has changed a little and still works
  correctly:
  /cgi-bin/koha/opac-search.pl?q=an:14084

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit d0e3891e251a6a11188d70a5480af0e44b8c1fb0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 49d8426f5634aa6433f58ce5830d9f7729605364)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Koha/SuggestionEngine/Plugin/AuthorityFile.pm
Koha/SuggestionEngine/Plugin/ExplodedTerms.pm