[Koha-bugs] [Bug 28782] Get rid of custom query param list creation for request.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 29 19:28:14 CEST 2021


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

--- Comment #1 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 123286
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123286&action=edit
Bug 28782: Use query param list instead of splitting elements using '/'

This removes the need to handle single and multiple cases separately,
thus removing bunch if-else cases and simplifying our code. This
coding style is also in line with our other .pl scripts.

To test:
 1) Make sure placing a hold still works from the following pages:

   /cgi-bin/koha/catalogue/detail.pl?biblionumber=XXX

   /cgi-bin/koha/catalogue/search.pl?q=a

   /cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=XXXX

   /cgi-bin/koha/clubs/clubs.pl (create a new club and add a patron
   there and through the clubs.pl create a hold to a bib)

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


More information about the Koha-bugs mailing list