Bug 34080: Make suggestions_batch_ops a class
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 23 Jun 2023 15:13:42 +0000 (15:13 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 26 Jun 2023 14:39:48 +0000 (11:39 -0300)
commit1d60fd79a47cd1dcc3f8e9e1e27ac2c887d77f3c
tree39fe2c53faa08cc97edcedfcff445ca138bc2924
parent241eaa1967f0933b286779b813368850e9b0286b
Bug 34080: Make suggestions_batch_ops a class

To test:
1. Make some suggestions with different statuses.
2. Try moving some suggestion to different statuses.
3. Going from PENDING to another status works fine.
4. Moving from other status (REJECTED, ORDERED, etc ) will cause a 500 error.
5. Apply patch
6. Try 2 - 4 again, no more 500 errors, yay!

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt