Garry Collum [Mon, 14 Dec 2020 20:18:15 +0000 (15:18 -0500)]
LP1907866 Bootstrap Opac: Adding basket to Existing List
Fixes the issue with the screen not showing lists after adding items to an existing list from a basket.
To test:
Create a list in the Bootstrap Opac.
Add some items to a basket. Select Add Basket to Saved List, and send the items to the list that was just created.
Notice on the list page after the items have been added that you can no longer see any existing list names. The screen displays '...From Basket'
Apply the patch.
Add some more items from a basket into the list. The existing list names are displayed after the items are sent to the existing list.
Terran McCanna [Wed, 30 Dec 2020 16:58:18 +0000 (11:58 -0500)]
PINES Temporary Workaround for LP1908614
I wasn't able to fix that bug, but this temporary workaround will
do until it gets fixed. This should be reverted when that fix is
available in a future Evergreen version.
Garry Collum [Wed, 16 Dec 2020 19:22:54 +0000 (14:22 -0500)]
LP1908298 Bootstrap OPAC: Type filter missing from advanced search
The Item Type filter and the Bib Level filter were both commented out in the opac's config.tt2 file.
This patch removes the comment hashmarks.
To test.
Go to the Advanced Search in the Bootstrap Opac.
Notice that the Item Type filter and Bib Level Filters are missing.
Apply the patch.
The two filters should now be displayed.
Bill Erickson [Tue, 8 Dec 2020 20:33:13 +0000 (12:33 -0800)]
LP1907286 Staff catalog sets last retrieved record
Navigating to the detail page for a bib record in the Angular Staff
Catalog now correctly sets the value for the
'eg.cat.last_record_retrieved' local storage item, allowing Retrieve
Last Bib Record to work as expected.
Terran McCanna [Wed, 20 May 2020 19:33:57 +0000 (15:33 -0400)]
LP1840950 Patron expiration date & iPads
This resolves a problem where the patron expiration date was not
displaying when editing a patron account on an iOS device because
Safari did not allow the deprecated Date() function.
This code uses javascript to reformat the date, similar to how the
DOB on the same form is handled.
Bill Erickson [Wed, 23 Sep 2020 15:15:22 +0000 (11:15 -0400)]
LP1881607 Angular catalog located URIs
Display in-range located URIs in the staff catalog record summary pane.
Also applies a fix to the staff catalog to clear cached record detail
summaries on new searches to ensure the correct org-scoped version of
the record summary is retrieved on each new navigation to the detail
page.
Display electronic resource links (MARC 856's) in the Angular staff
catalog. The extraction logic, which matches the TPAC, has been put
into its own API.
Terran McCanna [Thu, 10 Dec 2020 18:28:49 +0000 (13:28 -0500)]
LP1902120 Rename All Parts to Any Part in Hold Placement
When parts are set up when placing a hold, the current
dropdown gives the option "All Parts" which implies that
the patron will receive all of the different parts
rather than just one.
This wording has already been changed to "Any Part" in
the new Angular staff catalog.
Terran McCanna [Wed, 9 Dec 2020 22:29:00 +0000 (17:29 -0500)]
PINES Receipt Template Customization: Patron Data
Updated the parent/guardian field to display using the contents
of the new parent/guardian field rather than the ident2 field
that we used in previous versions.
Bill Erickson [Wed, 2 Dec 2020 21:52:47 +0000 (13:52 -0800)]
LP1896285 Patron search add to bucket serialize
Add a batch of patrons to a bucket one patron at a time to avoid
overwhelming the server with bucket item create requests and potentially
exhausing the open-ils.actor service.
Add support for the 'circ.staff_placed_holds_fallback_to_ws_ou' org unit
setting when staff place holds for patrons in the Angular staff catalog.
Specifically, if the patron has no preferred pickup lib set, fall back
to either the patron's home org or the workstation org depending on the
value of the org setting.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Bill Erickson [Mon, 13 Jul 2020 20:01:38 +0000 (16:01 -0400)]
LP1887429 Properly handle user settings in staffcat holds
Treat user settings like the raw JSON values that they are
when fetched via fleshing. Also be sure the value for the
'opac.default_pickup_location' user setting is read as a number in the
staff catalog to ensure it can be linked to the org unit in question.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Jason Boyer [Mon, 28 Jan 2019 15:22:01 +0000 (10:22 -0500)]
LP1813191: Add a Dewey Classification View to acn
The most-missed part of the Classic Item View in the
reporter are the dewey ranges and blocks. This branch
pulls those out into their own view and hangs it off
of a link from asset.call_number so they can be used
in reports from any path that connects to acn.
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Bill Erickson [Tue, 3 Nov 2020 20:04:37 +0000 (15:04 -0500)]
LP1889128 Activation date repair and form reset handling
Fixes an issue where the holds activation date was not correctly
retrieved from the form. Related, hold suspension and activation date
values are now reset/cleared when a new hold receipt is selected.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Bill Erickson [Thu, 8 Oct 2020 14:31:59 +0000 (10:31 -0400)]
LP1889128 Clear patron barcode on staff hold
Clear the patron barcode from the barcode input when toggling the holds
placement form to request a hold for the logged in staff account.
Otherwise, the barcode sticks around and could cause confusion.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Bill Erickson [Wed, 30 Sep 2020 15:18:00 +0000 (11:18 -0400)]
LP1889128 Reset hold recipient info after success
* When all holds for a given recipient have been successfully placed,
directly or via override, clear the recipient data so new recipient data
can easily be added.
* When placing duplicate Part holds, ensure the same part is applied to
each hold context so the selected part is targeted for all of the
multi-holds.
* Fxes a regression in the display of multiple hold targets where only
the first target would display.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Bill Erickson [Tue, 29 Sep 2020 18:26:56 +0000 (14:26 -0400)]
LP1889128 Confirm data loaded before Place Hold activated
When changing users in the place hold form of the staff catalog, the
form resets itself and refreshes all of the user and bib, etc. data.
This patch ensures all data has been retrieved before the place hold
button is reactivated after changing the user.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Bill Erickson [Wed, 23 Sep 2020 19:20:42 +0000 (15:20 -0400)]
LP1889128 Holds reset repairs and making space
Collapse the Search Form on the holds page so the holds form and data
have more vertical room on the page. Additionally, to help alleviate
any confusion that may be caused by the collapsed search form (and
because it has come up in other conversations), add a 'Return' button to
the holds page so users have an obvious way back to the previous catalog
page.
Fixes an issue where setting the hold recipient from a patron to the
staff account failed to properly clear the holds form, leaving (e.g.)
the wrong pickup lib in the selector.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
1. Modifying the patron barcode input either directly or via patron
search now fully resets the form, including previously placed holds.
2. Modifying the hold receipient clears the previous "placing hold for
patron" receipient applied from within the patron app, i.e. the banner
along the top of the catalog page.
3. Hide the 'Number of copies' selector when multi-copy holds are not
supported.
4. Hide the 'Number of copies' selector when the request does not have
CREATE_DUPLICATE_HOLDS permissions for the currently selected
5. Display an error message when the barcode entered does not result in
finding a patron.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Bill Erickson [Tue, 28 Jul 2020 15:27:05 +0000 (11:27 -0400)]
LP1889128 Staffcat support placing multiple holds
Adds support for the org unit setting 'circ.holds.max_duplicate_holds',
which allows staff to place multiple holds per target in the staff
catalog hold placement UI.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Currently, generic alerts/events passed up from the Perl
layer are presented in an unadorned modal that just begins
with "Reason(s) include" without further context. This
adds a "Could not Complete the Action" header with the
idea that something is better than nothing. At this point,
i18n is not considered.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org> Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com> Signed-off-by: Jason Stephenson <jason@sigio.com>
Chris Sharp [Wed, 11 Mar 2020 23:33:15 +0000 (19:33 -0400)]
LP#1398107: Alert when autodeleting a title with holds on it.
Add a new "TITLE_HAS_HOLDS" event that we pass up to the user
if any non-canceled, unfulfilled title hold targets a bib that
would otherwise be silently deleted with holds canceled.
Also, retarget any holds pointing to a bib that is automatically
deleted after removing its volumes/copies to the destination bib
if this is the last copy.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org> Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com> Signed-off-by: Jason Stephenson <jason@sigio.com>
Garry Collum [Tue, 10 Nov 2020 17:54:52 +0000 (12:54 -0500)]
LP1902265-Bootstrap Opac does not allow see/update per hold notification.
In the Bootstrap Opac:
Adds a Notify Method column to the patron's hold list.
Adds email, phone, and sms notifiction editing to the hold's edit screen.
Also, adds <label> tags to the existing form fields in the edit page for accessibility and some bootstrappy form elements to format the appearance of the form.
The SMS fields do not appear unless the Library Setting for "Enable features that send SMS text messages" is set to true.
To test work with the above OU setting off, and then on.
Place holds for a patron with and without an email address.
If a patron has a defualt SMS carrier, this carrier should pop up in the list by default.
Dan Briem [Wed, 18 Nov 2020 21:50:06 +0000 (16:50 -0500)]
LP#1778522 Precat item creation should be more intentional
Precat items can be created before all of the info is entered.
The dialog autofocuses the title field, so a double barcode scan
will populate the title field and createt the precat without
giving an opportunity to fill in the other fields.
This prevents form submission unless you click the Precat
Checkout button.
To test:
1. Try to check out a barcode that doesn't exist to any patron
2. On the precat dialog, enter a value into the title field
3. Note the precat is created
4. Apply patch
5. Repeat steps 1-3 and note the precat isn't created until
the Precat Checkout button is clicked
Signed-off-by: Dan Briem <dbriem@wlsmail.org> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Garry Collum [Wed, 11 Nov 2020 16:03:00 +0000 (11:03 -0500)]
LP1903594 Bootstrap opac: suspend hold not working
Fixes hold suspension at the time of the hold placement in the Bootstrap opac.
And fixes the date picker validation for the activation date.
To test.
As a patron, place a hold in the Bootstrap Opac.
At the time of placement select "Suspend this hold?" and set an activation date.
In the staff client, notice that neither the suspension or activation date has been saved.
Apply the patch.
Repeat the above steps and check for the suspension and activation date.
Place another hold with a activation date in the past. This should fail.
Place a hold without "Suspend this hold" checked.
Place a hold with "Suspend this hold" checked, but without an activation date.
Terran McCanna [Tue, 17 Nov 2020 22:49:51 +0000 (17:49 -0500)]
OPAC: Customizations to My Account
Multiple customizations to new Bootstrap version of My Account.
- Hide ebook info from displaying since we're not using it in PINES
- Fix wrapping problem with buttons on Holds page
- Add help popups to holds history and check out history pages
- Add PINES direction to contact their local library for assistance
- Remove hold order status (you are 1 of 17 holds)
Terran McCanna [Mon, 16 Nov 2020 23:01:47 +0000 (18:01 -0500)]
OPAC: Minor adjustments to new OPAC layout and wording
- Tightened up white space and shading around search box
- Added title and help tip to the search results facets
- Wording on login modal and form
- Wording on basic search form
- Wording on password reset form
- Record page: Changed size of section headers, fixed layout of Holds block
- Record page copy table: Hide due date column, add link to
Before this commit, the context org unit for carousels was the same as
the physical_loc environment variable, or the client-passed physcial
location, or the search location, whichever was set in that order. This
commit provides the ability to specify a carousel_loc environment
variable in the apache vhost configuration, as an override to
physical_loc. This, in turn, allows hostname-segregated branches of the
org hierarchy in a resource sharing group to specify their own carousels
even when they want the top of the group to be the default search
location.
Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Garry Collum [Sun, 8 Nov 2020 01:16:42 +0000 (20:16 -0500)]
lp1903424 Bootstrap opac notification methods not saving
The hold and email hold notification methods in the Bootstrap opac do not save to the database.
This patch fixes that behavior.
To test in concerto.
1. Enter an email address into a patron record.
2. Place a hold in the Bootstrap Opac logged in as this patron.
3. For notification, select Yes for email, and Yes by phone. Enter a phone number.
4. Go to the staff interface and observe that the hold for this patron does not have the Notifications Phone set, and Notify by Email is No.
5. Apply the patch.
6. Place another hold for this patron using the same notification settings. The Notifications Phone is now set, and Notify by Email is yes.
7. Use a combination of notification settings for other holds to verify that setting a phone or email notification method is set or not depending on what is selected.
Signed-off-by: Garry Collum <gcollum@gmail.com> Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Move library card application link to top menu instead of bottom menu,
cleaned up a lot of whitespace issues and old commented out text,
added CSS controls for parts of the Quipu form.
Chris Sharp [Fri, 14 Aug 2020 13:11:30 +0000 (09:11 -0400)]
Quipu eCard Integration for PINES
Altering KCLS's Quipu eCard implementation to align
with PINES's needs, with an eye towards a generic feature
that could be submitted to Evergreen master.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Bill Erickson [Tue, 7 Jul 2020 14:41:36 +0000 (10:41 -0400)]
KCLS Quipu integration bits
Notes:
1. See constants along the top of Ecard.pm which will need changing.
2. Ecard.pm add_stat_cats() is very kcls-specific
3. The vendor login uses a new password type 'ecard_vendor' which does
not have the intermediate md5 hashing.
4. Ecard.pm and templates have header/footer stuff that's specific to
bibliocommons and should be removed.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Terran McCanna [Fri, 10 Jan 2020 16:01:57 +0000 (11:01 -0500)]
PINES Customization: Specific Due Date Box
This widens the specific due date box on the patron checkout
screen so that the full date is visible. This will probably
be fixed in master at some point, but fixing it locally
for the time being.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
LP#1842297: Implements patron sign-on to the OpenAthens service.
Allows global or local administrators to configure a connection to the
OpenAthens cloud-based single sign-on service. Allows patrons to connect
seamlessly to third party resources that use OpenAthens authentication.
For more detailed feature description visit
https://wiki.evergreen-ils.org/doku.php?id=dev%3Aproposal%3Aopenathens_integration