]> git.koha-community.org Git - koha.git/commit
Bug 38183: Get the active tab number from data-attribute
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 15 Oct 2024 23:50:00 +0000 (23:50 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 25 Oct 2024 21:22:22 +0000 (21:22 +0000)
commit1c2e7237e399a251f8169a5fc08b2b8067f9931b
tree5bdfd500a63ad25c26a99e7dc9a6decbd4357856
parentbe233aadaef2c39a1254e4de5d84660c6e9a0363
Bug 38183: Get the active tab number from data-attribute

To test:

1. Have more than 1 staff member who can manage suggestions
2. Create some suggestions
3. Move some suggestions to different statuses (Pending/Accepted/Rejected) so you have multiple tabs on the "Suggestions management" page.
4. Go to the first tab, check some suggestions, and click "Select manager" under "Update manager".
5. Pick a new manager, notice nothing changes on that tab.
6. Now look at the last tab in your list of tabs, see the suggestion manager has been set incorrectly to the last tab.
7. APPLY PATCH
8. Try 4-5 again. The manager should be selected correctly.
9. Try setting the manaager from every tab, making sure it works right.

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 2d28aa403a46e7e37fb48135398448f07ff079ac)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt