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

Jonathan Druart <jonathan.druart+k...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #130868|0                           |1
        is obsolete|                            |
 Attachment #130869|0                           |1
        is obsolete|                            |
 Attachment #130870|0                           |1
        is obsolete|                            |
 Attachment #130871|0                           |1
        is obsolete|                            |
 Attachment #130894|0                           |1
        is obsolete|                            |
 Attachment #130895|0                           |1
        is obsolete|                            |

--- Comment #38 from Jonathan Druart <jonathan.druart+k...@gmail.com> ---
Created attachment 130938
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130938&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)

Signed-off-by: Hayley Pelham <hayleypel...@catalyst.net.nz>
Signed-off-by: Martin Renvoize <martin.renvo...@ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to