https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38982

--- Comment #1 from Owen Leonard <[email protected]> ---
Created attachment 177549
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177549&action=edit
Bug 38982: OpacLibraryInfo should respect news expiration date

This patch updates the library detail view in the OPAC so that the
OpacLibraryInfo HTML customization respects the content block's
expiration date.

The patch also changes the "library_info" BLOCK to "library_details" to
avoid confusion.

To test, apply the patch and enable the OPACShowLibraries system
preference if necessary.

- Create an OpacLibraryInfo HTML customization if necessary:
  - In the staff client, go to Tools -> HTML customizations
  - Create a new entry in the display location "OpacLibraryInfo"
  - Create the entry with a publication date but no expiration date.

- In the OPAC, go to the "Libraries" page.
- View the details of a library you created OpacLibraryInfo for.
- Confirm that the content appears.
- Return to the staff interface and edit the entry, adding an expiration
  date in the past.
- In the OPAC, confirm that the content no longer appears.

Sponsored-by: Athens County Public Libraries

-- 
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/

Reply via email to