[Koha-bugs] [Bug 26606] Correctly URI-encode query string in URL loaded after deleting an authority record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 5 10:05:47 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26606

didier <didier.gautheron at biblibre.com> changed:

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

--- Comment #2 from didier <didier.gautheron at biblibre.com> ---
Created attachment 111208
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111208&action=edit
Bug 26606: Correctly URI-encode query string in URL loaded after deleting an
authority record

If you search for "this & that" and delete one of the results, after
it is deleted the search in the reloaded page is for "this " rather
than for "this & that". The template uses the url filter, which is
for filtering an entire URI where :, &, #, etc. should be left alone,
rather than the uri filter which is for filtering a URI component
where they should be encoded.

To test:
1) Go to Authorities > New authority > New from Z39.50/SRU
2) Search for the Author (corporate) this & that collective
3) Actions > Import, Save
4) From the detail for that authority, Edit > Edit as new (duplicate)
5) Edit the 110 field, add 2 at the end and Save
6) Search authorities for this & that
7) For one of the ones you created, Actions > Delete, confirm
8) The page that reloads should have a search for this & that, not
just for this

Signed-off-by: Didier Gautheron <didier.gautheron at biblibre.com>

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


More information about the Koha-bugs mailing list