]> git.koha-community.org Git - koha.git/commit
Bug 32566: Don't show "ILL request log" when IllLog is disabled
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 9 Feb 2023 21:38:38 +0000 (22:38 +0100)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Wed, 29 Mar 2023 09:11:27 +0000 (11:11 +0200)
commit0be59969ffe707e3a847776b6a237723c44ee7ff
treec5432713539d437f26cdeb6a231a7425228d30b3
parent6d0d7024ddf441a423e1915bbcc80cd3f55c8564
Bug 32566: Don't show "ILL request log" when IllLog is disabled

When the IllLog system preference is disabled there will be no
log to view and the log will always appear empty.

To test:
1) Activate the IllModule system preference
2) Install a backend (BLDSS or FreeForm) following the wiki instructions:
   https://wiki.koha-community.org/wiki/ILL_backends
3) Go to the ILL module and add a new request
4) The "ILL request log" entry in the toolbar should be visible
5) Turn off the IllLog system preference
6) Reload the page - the option should remain visible
7) Apply patch
8) Verify the link is now no longer visible after reload
9) Re-activate the IllLog
10) Verify the option now appears

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f1ca05ac77f0d2537967bbf000a09cdb0a74a2d1)
(cherry picked from commit 86ec29294386f3882d2eb1686d0e27c54792e8c2)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 4e6de8e33d44f28c59c2f7c410c56f698e4f32f6)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt