]> git.koha-community.org Git - koha.git/commit
Bug 34080: Make suggestions_batch_ops a class
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 23 Jun 2023 15:13:42 +0000 (15:13 +0000)
committerPedro Amorim <pedro.amorim@ptfs-europe.com>
Tue, 18 Jul 2023 11:31:09 +0000 (11:31 +0000)
commitf56a8a59a29fc5cc302c3efab83070b180a1045d
treed12fdb49595c4fe3a82e339e609fda60b89c41ec
parentadfefa270c1e7c10dc175c9b8ac868c8b0deebc1
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>
(cherry picked from commit 1d60fd79a47cd1dcc3f8e9e1e27ac2c887d77f3c)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 6656b6674185ae4394555dbc731d52f4357a9448)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt