]> git.koha-community.org Git - koha.git/commit
Bug 27034: (follow-up) Remove unneeded params tweak
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 4 Jan 2021 15:23:46 +0000 (12:23 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 29 Jan 2021 08:03:45 +0000 (09:03 +0100)
commit4249048a9e83a326026859307d5f89d95be06a69
treecc79d62f473d26704482ad69aacf3817fc2e9687
parent1ddd0ef3cb8d9b36421672eb1a57f3b4c3c51434
Bug 27034: (follow-up) Remove unneeded params tweak

As $c->objects->search doesn't consider path params anymore, there's no
need to manually tweak the query parameters.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/holds.t
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests still pass!
4. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/REST/V1/Holds.pm