COVID-19 closure¶
These changes can be made in any order, but it’s better to change the circulation rules and the jQuery first to prevent patrons from placing reqeusts while you’re making the changes.
Circulation rules¶
Go to Home > Administration > Circulation and fine rules and choose the library that needs to be closed from the “Select a library” dropdown
![Screenshot showing where to find Default checkout, hold and return policy](../_images/covid.close.0010.png)
Go to the section of the page titled “Default checkout, hold and return policy for LIBRARYNAME” and change the variables as follow:
- Total current checkouts allowed - no change
- Total current on-site checkouts allowed - no change
- Maximum total holds allowed (count) - no change
- Hold policy - CHANGE TO “No holds allowed”
- Hold pickup library match - CHANGE TO “Item’s home library”
- Return policy - CHANGE TO “Item returns home”
- Once the variables are set, click on the “Save” button
![Screenshot of needed settings for Default checkout, hold and return policy](../_images/covid.close.0020.png)
Staff client JS¶
Go to Home > Administration > System preferences and click on the “Staff client” tab
![Screenshot of where to find "Staff client" tab](../_images/covid.close.0030.png)
Scroll down to the “IntranetUserJS” preference and click on “Edit with Code Mirror”
![Screenshot of where to find IntranetUserJS system preference](../_images/covid.close.0040.png)
Do a browser search for “//COVID19 closures”
![Screenshot of where to find //COVID19 closures](../_images/covid.close.0050.png)
Immediately after
//COVID19 closures
Add a new line and then add these two pieces of jQuery to this system preference in this location
//BEGIN XLIBRARYX COVID19 closure
$('.XLIBRARYX #breadcrumbs').prepend('<h1 class="closed" style="text-align: center;">Your library is currently listed as <span style="font-style: italic; text-decoration: underline;">Closed until XDATEX</span> on the OPAC.</h1>');
$("#pickup option[value='XLIBRARYX']").attr("value","X").html('XLIBNAMEX is currently closed to new requests');
//END
Change the values in the code above as follows:
Value | Replace with |
---|---|
XLIBRARYX | Library code from Koha |
XLIBNAMEX | Library name |
XDATEX | Reopening date |
Click on “Save all Staff Client preferences”
![Screenshot of what it should look like after the code is added](../_images/covid.close.0060.png)
OPAC JS¶
Go to Home > Administration > System preferences and click on the “OPAC” tab
![Screenshot of where to find the OPAC tab](../_images/covid.close.0070.png)
Scroll down to the “OPACUserJS” preference and click on “Edit with Code Mirror”
![Screenshot of where to find OPACUserJS](../_images/covid.close.0080.png)
Do a browser search for “//COVID19 closures”
![Screenshot of where to find //COVID19 Closures](../_images/covid.close.0090.png)
Immediately after
//COVID19 closures
Add a new line and then add these two pieces of jQuery to this system preference in this location
//BEGIN XLIBRARYX COVID19 closure
$('.branch-XLIBRARYX .btn:contains(Resume)').remove();
$('.branch-XLIBRARYX #holdst td:nth-child(6)').text('XLIBNAMEX is currently closed');
$("option[value='XLIBRARYX']").attr("value","x").html('XLIBNAMEX: currently closed');
$('.branch-XLIBRARYX input[value="Confirm hold"]').remove();
$('.branch-XLIBRARYX #holds #hold-request-form').parent().prepend('<h1>Requests cannot be placed at this time.<br />Your library is closed until XDATEX.</h1>');
//END
Change the values in the code above as follows:
Value | Replace with |
---|---|
XLIBRARYX | Library code from Koha |
XLIBNAMEX | Library name |
XDATEX | Reopening date |
Click on “Save all OPAC preferences”
![Screenshot of what it should look like after the changes are made](../_images/covid.close.0100.png)
News block¶
Go to Home > Tools and open the “News” Tools
![Screenshot of where to find "News" on the tools page](../_images/covid.close.0110.png)
Find the news item titled “COVID-19 Closures and information” and click on “Edit”
![Screenshot of where to find the COVID news and the edit button](../_images/covid.close.0120.png)
Click on the <> icon to edit the raw html of the news Item
![Screenshot of where to find the raw HTML button](../_images/covid.close.0130.png)
Find the spot in the existing news items where the library you are closing will fit alphabetically and insert:
<tr>
<td>XLIBNAMEX</td>
<td style="text-align: center;"><a href="XLIBURL" target="_blank" rel="noopener"><span style="background-color: pink;">Closed</span></a></td>
<td style="text-align: right;"><span style="background-color: pink;">Courier service suspended</span><br /><span style="background-color: pink;">XLIBRARYX items are not available</span><br /><span style="background-color: pink;">Tentative reopening on XDATEX</span></td>
</tr>
Change the values in the HTML above as follows:
Value | Replace with |
---|---|
XLIBRARYX | Library code from Koha |
XLIBNAMEX | Library name |
XLIBURL | URL for the library |
XDATEX | Reopening date |
Click on “Save” after necessary changes have been made.
![Screenshot of where the code should go and where the save button is](../_images/covid.close.0140.png)
After saving, you should verify that the information is accurate and looks correct and click on “Submit” to finalize the changes
![Screenshot of what the rendered code should look like and where the Submit button is](../_images/covid.close.0150.png)
When you return to the home page in the staff client, the updates should appear on the left hand side of the homepage
![Screenshot showing where the final code should appear](../_images/covid.close.0160.png)
Suspend unfilled requests¶
Go to Home > Reports > Guided reports wizard > Saved reports and search for report 3276
![../_images/covid.close.0170.png](../_images/covid.close.0170.png)
Run report 3276 “GHW - Find unfilled/not-suspended requests for a library” choosing the closed library
![../_images/covid.close.0180.png](../_images/covid.close.0180.png)
Click on each link in the “LINK” column to go to the account of each patron with unfilled requests for this pickup Library
![../_images/covid.close.0190.png](../_images/covid.close.0190.png)
Suspend each request until the day before the library is expected to reopen
If the closure is “Until further notice” estimate a date for reopening - leaving the date blank will require that someone manually un-suspends each request, so it’s better to make a bad guess than have to figure out which requests were made by staff as opposed to those made by patrons
![../_images/covid.close.0200.png](../_images/covid.close.0200.png)
Repeat this process for each link in the report
Suspended requests will look like this:
![../_images/covid.close.0210.png](../_images/covid.close.0210.png)
Due dates¶
Go to Home › Tools and click on “Batch extend due dates”
![../_images/covid.close.0220.png](../_images/covid.close.0220.png)
Select the following checkout criteria:
Patron categories | Leave blank |
Libraries | Choose the one that’s closing |
Due date from | Choose the date the closure began |
Due date to | Choose the date the closure will end |
Then choose one of the two “New due date” options
Choose one of the following | Options |
---|---|
Hard due date | Set a date for all items (not recommended) |
Or add number of days | Adds X number of days to an item’s current due date (recommended) |
Then click “Continue”
![../_images/covid.close.0230.png](../_images/covid.close.0230.png)
This will give you a a list of items that will be modified - if everything looks good, click on “Modify selected checkouts”
![../_images/covid.close.0240.png](../_images/covid.close.0240.png)
Depending on the size of the library, it may take several minutes for this process to run.
If you get a timeout or proxy error, it is probably because the web page timed out. The due date update process is probably continuing to work in the database, but the Apache server timed out. The best way to check to see if the process finished is to wait 15 minutes and re-start the process to see if there are still any items left that did not update. If there are items that did not update, you can adjust the “Due date from” and “Due date to” varialbes to update the items in smaller batches.
When the process finishes normaly, you should see a screen like this:
![../_images/covid.close.0250.png](../_images/covid.close.0250.png)
email¶
Send an e-mail to next@lists.nekls.org informing all of the Next Search Catalog members about the closure.
Here’s a template for an e-mail:
Hello all,
We are temporarily pausing courier service for XLIBNAMEX due to COVID-19 concerns.
At this time we are stopping courier deliveries to XLIBNAMEX.
Please remember that, if any of your staff tests positive for COVID-19, you need to contact courier@nekls.org as soon as possible so we can implement the courier's COVID-19 procedures.
Any items that are already in-transit to XLIBRARYX will be held at the courier distribution hubs and . If your library checks in any items that are owned by XLIBRARYX, please hold them at your library for the present. All unfilled requests for pickup at XLIBRARYX have been suspended until XDATEX.
Currently our hope is that we will resume courier service to XLIBRARYX on XDATEX.
Change the values in the email above as follows:
Value | Replace with |
---|---|
XLIBRARYX | Library code from Koha |
XLIBNAMEX | Library name |
XDATEX | Reopening date |