[Koha-bugs] [Bug 27748] Encoding problem in link to OverDrive results
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 19 05:06:32 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27748
Phil Ringnalda <phil at chetcolibrary.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #117194|0 |1
is obsolete| |
--- Comment #5 from Phil Ringnalda <phil at chetcolibrary.org> ---
Created attachment 118481
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=118481&action=edit
Bug 27748 - Encoding problem in link to OverDrive results
If you have OverDrive enabled and do a search for e.g. "Göteborg",
you will get a link above the regular Koha search results that
says e.g. "Found 1 results in the library's OverDrive collection".
If you follow this link, a search will be made in OverDrive, but only
for "G", because the search term is cut off at the first non-ASCII
char.
To test:
- Make sure OverDrive is enabled
- Do a search that contains a non-ASCII char, like "Göteborg"
- Click on the link "Found x results in the library's OverDrive
collection"
- Verify the query string is cut off at the first non-ASCII char,
and that the number of hits is different from the number given
in the link on the previous page
- Apply the patch, restart all the things
- Repeat the search, and verify that the numbers match and that the
query string is intact after clicking on the OverDrive link
Lookin at the code, the same problem seems to be shared between
OverDrive and RecordedBooks. I have applied the same fix to both,
but I do not have access to RecordedBooks, so I have not been able
to verify that the problem exists there and is fixed by my patch.
Signed-off-by: Phil Ringnalda <phil at chetcolibrary.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list