]> git.koha-community.org Git - koha.git/commit
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>
Tue, 6 Jun 2023 12:58:52 +0000 (09:58 -0300)
commiteac2787565ab397da4280deef706f85f4dee80c4
treee8e3b3eacc173d84d4590921ee41427e7e61c80d
parent9eb62ef191ad90fdcb556026c9e8f5d3ca3ddebd
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