[Koha-bugs] [Bug 13701] Sharing lists: Text hardcoded to 2 weeks, but could be any time frame

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 26 08:29:41 CET 2020


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

Alex Buckley <alexbuckley at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
                 CC|                            |alexbuckley at catalyst.net.nz

--- Comment #6 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
I've attached a patch which removes that hardcoded "two weeks" text and
replaces it with your second suggestion in comment #4 Katrin. 

One other thought I did have was perhaps we could replace the hardcoded 14 day
value in the cleanup_database.pl cronjob with a system preference?

 The system preference could have a default of 14 days, for fresh and upgrading
installs. 

The benefits of using a syspref would be:

1. Librarians would be able to change how long share invitations are 'valid'
for. This is something they currently don't control, unless they have server
access.

2. By storing the invitation cleanup frequency in a syspref then it could be
accurately displayed in the opac-shareshelf.tt template

Please let me know what you think of this idea :)

Thanks,
Alex

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list