Bug 22222: Don't send empty params to mana service
authorJosef Moravec <josef.moravec@gmail.com>
Tue, 26 Feb 2019 15:05:50 +0000 (15:05 +0000)
committerroot <root@f1ebe1bec408>
Fri, 15 Mar 2019 12:08:42 +0000 (12:08 +0000)
commit1934ca1100517ca1622c9c2c0587832504064b25
treee25d3fa6093b16abc8b971e3dd8588ea1448d43a
parent9682cc7d21645a673bd274b24aeab323f61f28aa
Bug 22222: Don't send empty params to mana service

Test plan:
0) Do not apply the patch
1) Go to serials > Search on Mana
2) Insert some value into the form
3) Submit -> you get many (3000+) results
4) Apply the patch and restart_all
5) Repeat, now, you get only the subscription matching your query

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/SharedContent.pm
t/db_dependent/Koha/SharedContent.t