[Koha-bugs] [Bug 12450] New: Closing libraries for the summer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 19 01:10:25 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12450

            Bug ID: 12450
           Summary: Closing libraries for the summer
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Hold requests
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: cbrannon at cdalibrary.org
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

Currently, there is no way to close a library in Koha for a specified period of
time.  A good example for this is when we have public schools closed for the
summer.  We should not be able to place holds on their items or use their
location as a pickup location.

Right now, we have to do several things to accomplish this.

First, we have set the default rule for the closed library to "No holds
allowed".

Next we have to remove the library from all staff pickup locations listed with
jquery:

$("#pickup option[value='SILVERHILL'],select[name='pickup']
option[value='SILVERHILL']").hide();

Then we have to do the same for the OPAC:

$("option[value='SILVERHILL']").hide();

But then we also have to warn the patron that they can't pick up at their
library, and then change the default to another library.  Otherwise, it will
still set their library as the pickup location, even though the choice is
hidden in the list:

if($("select[name='branch'] :selected").val() =="SILVERHILL") {
alert("Your home branch is closed for the summer.  Please select a different
pickup location.");
$("select[name='branch'] option:contains('Wallace
Library')").prop("selected",true);
};

If we don't change the default selection and the patron places the hold with
their library as the pickup location, the hold ends up in limbo.  It doesn't
show on a queue anywhere!

It isn't necessary, but should be done for the staff side as well.  Right now
we don't, because the pickup location defaults to the logged in library.  Our
closed libraries would not be logged in at this time.  But, ideally it should
be done to prevent issues.

Ideally, I would like to see a setting in the libraries or calendars that would
do all of this.

Christopher

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


More information about the Koha-bugs mailing list