Bug 33786: ILL requests table id
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Tue, 30 May 2023 09:20:20 +0000 (09:20 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 9 Jun 2023 15:04:39 +0000 (12:04 -0300)
commit4d2df9876d389f4ac939d5fec27b877bbe00cf45
tree37bdba01f2a433f0d64abc916e2bf8f85b46f397
parent5cb185b71be95cc312686701ce8bd719a4b30b13
Bug 33786: ILL requests table id

Make sure requests table is unique when visiting patron ILL
history so the table state is not shared unintentionally

Reproduce:
1) Have a borrower with >20 ILL requests in their history
2) Visit cgi-bin/koha/members/ill-requests.pl?borrowernumber=<borrowernumber>
3) On the table, click page 2
4) Visit a different borrower with <20 ILL requests
5) Verify that no requests are shown, this is because the table is using page 2 from step 3)
6) Go back to original borrower, click table page 1
7) Now go back to 2nd borrower, verify is now showing page 1 correctly

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
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/includes/ill-list-table.inc
koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js