https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37221
ByWater Sandboxes <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #168760|0 |1 is obsolete| | --- Comment #2 from ByWater Sandboxes <[email protected]> --- Created attachment 169594 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169594&action=edit Bug 37221: Add preference to turn off OPAC Overdrive features This patch adds the preference "OPACOverDrive" to control whether OverDrive features are shown in the OPAC. This allows a library to disable OverDrive features without having to remove one or more of their OverDrive credentials. The patch also adds a check for the OPACOverDrive preference in the OverDrive search results page. If OverDrive is disabled, navigating to that page should give a 404. To test you will need OverDrive credentials to test with. - Apply the patch and run updatedatabase. - If you already had data in the OverDriveLibraryID, OverDriveClientKey, and OverDriveClientSecret system preferences, the OPACOverDrive preference will be enabled when added. If not it will be disabled by default. - Rebuild the staff interface CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface) - Go to Administration -> System preferences -> Enhanced content -> OverDrive. - If necessary, enter valid credentials in the OverDriveLibraryID, OverDriveClientKey, and OverDriveClientSecret system preferences. - Set OPACOverDrive to "Don't enable." - In the OPAC perform a catalog search. Normally, if your credentials were correct OverDrive search results would automatically appear at the top of Koha's search results. Now there should be none. - Enable the OPACOverDrive preference and repeat your search. Now OverDrive results should appear. - Confirm that the OverDrive search results page works correctly. - Test that OverDrive circulation features are working by logging in to the OPAC as a user who has active OverDrive checkouts. - Enable the OPACOverDrive and OverDriveCirculation system preferences. - On the user's summary page there should be a tab for "OverDrive account." - The tab should not appear if either OPACOverDrive or OverDriveCirculation is disabled. Sponsored-by: Athens County Public Libraries Signed-off-by: Barbara Johnson <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
