evergreen/pines.git
4 years agoLP1914116: Apply html filter to mkurl() output
Jason Boyer [Mon, 8 Feb 2021 19:20:32 +0000 (14:20 -0500)]
LP1914116: Apply html filter to mkurl() output

Because of the way that mkurl() generates its query parameters they're
generally escaped correctly, but nowhere do we run the output of mkurl()
through the html filter to correctly handle ampersands. Rather than adding
"|html" to every invocation of mkurl, it's just added to the macro directly.

Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
4 years agoRevert "LP908568 Double-click copy opens editor"
Chris Sharp [Mon, 8 Feb 2021 18:14:24 +0000 (13:14 -0500)]
Revert "LP908568 Double-click copy opens editor"

This reverts commit c2eb8179fc3d10684994b0f7eae9e8db4828d6ce.

4 years agoLP1908743 Staff catalog honors org-not-pickup-lib
Bill Erickson [Mon, 11 Jan 2021 19:15:33 +0000 (14:15 -0500)]
LP1908743 Staff catalog honors org-not-pickup-lib

In the Angular staff catalog, disable org units in the pickup library
selector that have the 'opac.holds.org_unit_not_pickup_lib' org unit
setting applied, plus those that have false values for can-have-users or
can-have-vols.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1908743 Org select now supports disabled org unit
Bill Erickson [Fri, 5 Feb 2021 16:16:59 +0000 (11:16 -0500)]
LP1908743 Org select now supports disabled org unit

Org units specified as disabled in <eg-org-select /> are now visible,
but disabled when the typeahead displays.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoRevert "LP1908743 Staff catalog honors org-not-pickup-lib"
Chris Sharp [Fri, 5 Feb 2021 20:30:31 +0000 (15:30 -0500)]
Revert "LP1908743 Staff catalog honors org-not-pickup-lib"

This reverts commit ba99417a1b289593cabffd554a70f2f62aefc323.

4 years agoLP1913338 Catalog search form visibility stickiness
Bill Erickson [Thu, 28 Jan 2021 15:32:11 +0000 (10:32 -0500)]
LP1913338 Catalog search form visibility stickiness

On pages in the Angular staff catalog where the search form is collapsed
by default, users may now also manually expand and re-collapse the form.
The last used choice will be sticky via new workstation setting.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP908568 Double-click copy opens editor
Bill Erickson [Tue, 2 Feb 2021 19:48:46 +0000 (14:48 -0500)]
LP908568 Double-click copy opens editor

Double-clicking a copy row in the Angular staff catalog Holdings View
now opens the copy in the copy editor.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP1913458 Bucket Add/Delete Item Operations Batched
Bill Erickson [Wed, 27 Jan 2021 16:55:56 +0000 (11:55 -0500)]
LP1913458 Bucket Add/Delete Item Operations Batched

In the record bucket administration UI, the act of adding or removing
items from a bucket are now done in batch to avoid too many parallel
requests.

These changes include new batch create/delete API calls that can operate
on any bucket type, so other UI's can be similarly batched as needed.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP1913811 progress dialog on Items Out grid
Jeff Davis [Mon, 1 Feb 2021 22:17:05 +0000 (14:17 -0800)]
LP1913811 progress dialog on Items Out grid

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
4 years agoLP1913811 Items out notice summary API batching
Bill Erickson [Mon, 1 Feb 2021 15:54:18 +0000 (10:54 -0500)]
LP1913811 Items out notice summary API batching

Tweak the open-ils.actor.user.itemsout.notices API to accept an array of
circulation IDs so the call can be batched from the client.  Similarly
modify the AngJS client to request the notice summaries in batch.

Further improves the notices API by removing an unneeded join and a
minor security fix to verify perms based on the in-database user ID
instead of the ID provided by the caller (w/ the note that the API only
returns numbers, not user data).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
4 years agoQuipu - Adjust iframe height
Terran McCanna [Wed, 3 Feb 2021 16:42:28 +0000 (11:42 -0500)]
Quipu - Adjust iframe height

The iframe was cutting off the form causing a double scroll
bar in the browser. This increases the height so that additional
scrolling is not needed.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoAdds Google Analytics Code to Bootstrap OPAC
Terran McCanna [Wed, 3 Feb 2021 14:54:49 +0000 (09:54 -0500)]
Adds Google Analytics Code to Bootstrap OPAC

(Was already in previous OPAC)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoAlso making the system level and consortium level bold
Terran McCanna [Wed, 3 Feb 2021 21:58:41 +0000 (16:58 -0500)]
Also making the system level and consortium level bold
for better readability.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Customization: Styling for not-pickup-lib
Terran McCanna [Wed, 3 Feb 2021 19:44:31 +0000 (14:44 -0500)]
PINES Customization: Styling for not-pickup-lib

On bootstrap OPAC place holds page, add styling to library
selector to make it more obvious which org units cannot be
selected as pickup libraries.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES fix for old catalog hold email display
Terran McCanna [Wed, 3 Feb 2021 15:31:58 +0000 (10:31 -0500)]
PINES fix for old catalog hold email display

Problem: If a staff member uses the old/traditional catalog
through the 3.6 staff client to place a hold, the staff member's
email address displays rather than the patron. It still saved
correctly, just displayed wrong.

Fix: This blocks the display of the email address on the holds
page when using the staff client. It still displays to patrons
using the OPAC.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoAdd OpenAthens tables/seed values to PINES.
Chris Sharp [Wed, 3 Feb 2021 19:29:18 +0000 (14:29 -0500)]
Add OpenAthens tables/seed values to PINES.

4 years agoStaff Client: kludge to allow multiple term searches from splash page
Chris Sharp [Fri, 22 Jan 2021 21:13:01 +0000 (16:13 -0500)]
Staff Client: kludge to allow multiple term searches from splash page

4 years agoOPAC: update size and maxlength of billing zipcode
Chris Sharp [Thu, 21 Jan 2021 19:49:51 +0000 (14:49 -0500)]
OPAC: update size and maxlength of billing zipcode

4 years agoLP1687545: Force TT CGI plugin to use ampersands in query strings
Jason Boyer [Thu, 21 Jan 2021 16:08:36 +0000 (11:08 -0500)]
LP1687545: Force TT CGI plugin to use ampersands in query strings

Change our already-forked version of TemplateToolkit::Plugin::CGI
to use "old" style urls which became the new / only style after
CGI.pm was deprecated. This causes the query_strings property to
consistently use ampersands to separate query parameters.

Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
4 years agoOPAC: update regex for postal code, correct typo
Chris Sharp [Wed, 20 Jan 2021 21:02:02 +0000 (16:02 -0500)]
OPAC: update regex for postal code, correct typo

4 years agoPINES Custom: Re-add persistent login boxes to OPAC
Terran McCanna [Tue, 19 Jan 2021 15:49:57 +0000 (10:49 -0500)]
PINES Custom: Re-add persistent login boxes to OPAC

I took these off before because I didn't think they actually
worked, but I was wrong, so adding them back in!

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES - Stripe Payment Fix
Terran McCanna [Tue, 19 Jan 2021 20:34:24 +0000 (15:34 -0500)]
PINES - Stripe Payment Fix

Proposed fix to make the Stripe payment form display

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Custom: 3rd attempt to fix the age protection star
Terran McCanna [Sun, 17 Jan 2021 20:20:27 +0000 (15:20 -0500)]
PINES Custom: 3rd attempt to fix the age protection star

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Custom OPAC Copy Table: Display Age Protection Star
Terran McCanna [Sun, 17 Jan 2021 18:09:05 +0000 (13:09 -0500)]
PINES Custom OPAC Copy Table: Display Age Protection Star

Fixes a thinko with my previous commit to display a star
next to age-protected items.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoOPAC: fix Quipu ecard for bootstrap
Chris Sharp [Sun, 17 Jan 2021 21:25:34 +0000 (16:25 -0500)]
OPAC: fix Quipu ecard for bootstrap

4 years agoOPAC: disable ebook API by default
Chris Sharp [Sun, 17 Jan 2021 03:44:43 +0000 (22:44 -0500)]
OPAC: disable ebook API by default

4 years agoLP1908743 Staff catalog honors org-not-pickup-lib
Bill Erickson [Mon, 11 Jan 2021 19:15:33 +0000 (14:15 -0500)]
LP1908743 Staff catalog honors org-not-pickup-lib

In the Angular staff catalog, hide org units in the pickup library
selector that have the 'opac.holds.org_unit_not_pickup_lib' org unit
setting applied.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP1911031 Staff catalog honors pickup lib change
Bill Erickson [Mon, 11 Jan 2021 17:06:21 +0000 (12:06 -0500)]
LP1911031 Staff catalog honors pickup lib change

Manually modifying the pickup library in the staff catalog holds
placement form now results in using the selected pickup library.
Previously, the change was ignored by the form.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Customization for Self-Check: Hide Pay Fines Button
Terran McCanna [Tue, 12 Jan 2021 19:18:48 +0000 (14:18 -0500)]
PINES Customization for Self-Check: Hide Pay Fines Button

There are some environments where the Pay Fines button was
appearing even though it is supposed to be hidden via CSS.

This adds more CSS to move the button off the side of the page.
(Removing the button entirely broke the interface.)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agocorrect issue with metabib search
Chris Sharp [Tue, 12 Jan 2021 19:31:04 +0000 (14:31 -0500)]
correct issue with metabib search

4 years agoRevert "PINES Self-Check: Fix for Pay Fines Button"
Chris Sharp [Tue, 12 Jan 2021 16:39:42 +0000 (11:39 -0500)]
Revert "PINES Self-Check: Fix for Pay Fines Button"

This reverts commit 8e411f5246c7ca3fcd97a81ae063f0c3f63a9a3a.

4 years agoRevert "LP1908743 Staff catalog honors org-not-pickup-lib"
Chris Sharp [Tue, 12 Jan 2021 16:20:14 +0000 (11:20 -0500)]
Revert "LP1908743 Staff catalog honors org-not-pickup-lib"

This reverts commit 1ceb81675e8fb3835e41a0e70602f4b1eb763de2.

4 years agoRevert "LP1901760 Remove SharedWorker testing cruft"
Chris Sharp [Tue, 12 Jan 2021 16:04:46 +0000 (11:04 -0500)]
Revert "LP1901760 Remove SharedWorker testing cruft"

This reverts commit d86fd16bd5e6ddc05ba15d20d525cc2e73e6c777.

4 years agoChanges remaining links not to use ctx media links.
Tiffany Little [Tue, 12 Jan 2021 13:06:15 +0000 (08:06 -0500)]
Changes remaining links not to use ctx media links.

4 years agoLP1908743 Staff catalog honors org-not-pickup-lib
Bill Erickson [Mon, 11 Jan 2021 19:15:33 +0000 (14:15 -0500)]
LP1908743 Staff catalog honors org-not-pickup-lib

In the Angular staff catalog, hide org units in the pickup library
selector that have the 'opac.holds.org_unit_not_pickup_lib' org unit
setting applied.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoPINES Self-Check: Fix for Pay Fines Button
Terran McCanna [Mon, 11 Jan 2021 21:57:44 +0000 (16:57 -0500)]
PINES Self-Check: Fix for Pay Fines Button

The 'Pay Fines' button was appearing in some scenarios, even
though it's not possible to pay fines through the self-check
at this time. This completely removes that button.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1896285 Post mark-missing serialized item load
Bill Erickson [Thu, 17 Dec 2020 15:19:14 +0000 (07:19 -0800)]
LP1896285 Post mark-missing serialized item load

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
4 years agoLP1901760 Remove SharedWorker testing cruft
Bill Erickson [Mon, 11 Jan 2021 16:33:56 +0000 (11:33 -0500)]
LP1901760 Remove SharedWorker testing cruft

Otherwise they will work for no one!

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP1901760 Improve SharedWorker non-support handling (Angular)
Bill Erickson [Mon, 4 Jan 2021 17:10:05 +0000 (12:10 -0500)]
LP1901760 Improve SharedWorker non-support handling (Angular)

Reject requests to SharedWorker resources when shared workers are not
supported.  The caller is required to handle the rejection in whatever
way makes sense for the calling code.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1901760 Improve SharedWorker non-support handling (AngJS)
Bill Erickson [Mon, 4 Jan 2021 17:05:24 +0000 (12:05 -0500)]
LP1901760 Improve SharedWorker non-support handling (AngJS)

Force the SharedWorker code to run before org settings cache requests
are attempted so that we can tell before the lovefield request is made
wether or not a connection will be successfull.  In other words, we may
not know if cannotConnect is true yet, so force that logic to run first.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoSQL: address missing booking perms
Chris Sharp [Mon, 11 Jan 2021 17:56:34 +0000 (12:56 -0500)]
SQL: address missing booking perms

4 years agoLP1881607 Angular catalog e-resource links display
Bill Erickson [Mon, 1 Jun 2020 16:32:21 +0000 (12:32 -0400)]
LP1881607 Angular catalog e-resource links display

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.

To test in concerto, navigate to:

/eg2/staff/catalog/record/208

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoRevert "LP1881607 Angular catalog e-resource links display"
Chris Sharp [Fri, 8 Jan 2021 18:24:02 +0000 (13:24 -0500)]
Revert "LP1881607 Angular catalog e-resource links display"

This reverts commit db72e04fb13eba74fc8304bab0db6b5a050615e5.

4 years agoPINES Local Customizations: Omnibus 3
Terran McCanna [Thu, 7 Jan 2021 21:01:50 +0000 (16:01 -0500)]
PINES Local Customizations: Omnibus 3

This last batch just fixes a translation string issue and fixes a layout
problem on the record detail page.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1908619 Update button label
Terran McCanna [Thu, 7 Jan 2021 18:39:09 +0000 (13:39 -0500)]
LP1908619 Update button label

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1908619 Update to script
Terran McCanna [Thu, 7 Jan 2021 18:00:46 +0000 (13:00 -0500)]
LP1908619 Update to script

And the other bit I forgot to add before...

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1908619 Staff Catalog Preferences
Terran McCanna [Tue, 5 Jan 2021 19:12:14 +0000 (14:12 -0500)]
LP1908619 Staff Catalog Preferences

Aaaaaand, adding the other file I forgot to add in the last commit.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1908619 Adjustments to Staff Search Preferences Page
Terran McCanna [Tue, 5 Jan 2021 19:09:36 +0000 (14:09 -0500)]
LP1908619 Adjustments to Staff Search Preferences Page

Change 'Catalog Preferences' to 'Search Preferences' and
add a Return button at the bottom to make it more obvious how
to get out of the interface.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoSQL: remove acq perm updates per Tiffany
Chris Sharp [Tue, 5 Jan 2021 13:19:19 +0000 (08:19 -0500)]
SQL: remove acq perm updates per Tiffany

4 years agoLP1910138 Display Precat Info in Circ History
Terran McCanna [Mon, 4 Jan 2021 19:32:40 +0000 (14:32 -0500)]
LP1910138 Display Precat Info in Circ History

This adds the precat title and author to the circ
history table in My Account in the Bootstrap OPAC.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
4 years agoLP1906855 Show Covers in My Account
Terran McCanna [Mon, 4 Jan 2021 19:14:13 +0000 (14:14 -0500)]
LP1906855 Show Covers in My Account

Adds covers to current circs, circ history, current holds,
holds history tables.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
4 years agoLP1908616 Add email display to hold edit
Terran McCanna [Mon, 4 Jan 2021 20:09:15 +0000 (15:09 -0500)]
LP1908616 Add email display to hold edit

Note: This is built atop the patch for LP1902265

This display's the current email address (or note if there
is no address) on the Edit Hold page of My Account in the
Bootstrap OPAC.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Customization: Staff Page Redirect
Terran McCanna [Thu, 31 Dec 2020 22:12:35 +0000 (17:12 -0500)]
PINES Customization: Staff Page Redirect

Add redirect file so that you can get to the staff page
with just /staff instead of /eg/staff.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1908724 Staff Catalog Sort by PubDate Wording
Terran McCanna [Thu, 31 Dec 2020 14:43:31 +0000 (09:43 -0500)]
LP1908724 Staff Catalog Sort by PubDate Wording

Changes wording of dropdown on search results page and matches
sort order to wording.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1900159 Staff Catalog Typo - No Results
Terran McCanna [Thu, 31 Dec 2020 14:58:25 +0000 (09:58 -0500)]
LP1900159 Staff Catalog Typo - No Results

Corrects 'maching' to 'matching' on 3 results pages.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Customization: Display Report ID
Terran McCanna [Thu, 31 Dec 2020 21:07:57 +0000 (16:07 -0500)]
PINES Customization: Display Report ID

Show report ID in classic reporter to make troubleshooting
easier.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Customization to Copy Buckets View
Terran McCanna [Wed, 30 Dec 2020 23:28:01 +0000 (18:28 -0500)]
PINES Customization to Copy Buckets View

Note that this view is heavily customized already. This change
adds precat isbn/title/author and item alerts columns.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1907866 Bootstrap Opac: Adding basket to Existing List
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.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1909584 Title for Shared Lists in Bootstrap OPAC
Terran McCanna [Thu, 31 Dec 2020 22:54:50 +0000 (17:54 -0500)]
LP1909584 Title for Shared Lists in Bootstrap OPAC

This displays the title and description for shared lists
when viewed in the Bootstrap OPAC.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Customization to Staff Place Hold Screen
Terran McCanna [Thu, 31 Dec 2020 21:34:35 +0000 (16:34 -0500)]
PINES Customization to Staff Place Hold Screen

Tighten up the white space a little bit to display better on
laptop monitors.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Customization: Open Record in OPAC
Terran McCanna [Wed, 30 Dec 2020 20:05:22 +0000 (15:05 -0500)]
PINES Customization: Open Record in OPAC

Add link to new staff catalog record view to open the record
in the public OPAC.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1812866 Item Alert column in Item Buckets
Terran McCanna [Wed, 30 Dec 2020 19:02:00 +0000 (14:02 -0500)]
LP1812866 Item Alert column in Item Buckets

This adds an Item Alert column to Item Buckets that displays
the item alert note(s).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Temporary Workaround for LP1908614
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.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES KPAC Customizations
Terran McCanna [Tue, 29 Dec 2020 20:08:10 +0000 (15:08 -0500)]
PINES KPAC Customizations

Fix problem with copy table column headers and styled alert message.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES OPAC Customizations - More Tweaks
Terran McCanna [Tue, 29 Dec 2020 19:51:19 +0000 (14:51 -0500)]
PINES OPAC Customizations - More Tweaks

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Customizations to OPAC - Advanced Search
Terran McCanna [Tue, 29 Dec 2020 18:35:58 +0000 (13:35 -0500)]
PINES Customizations to OPAC - Advanced Search

Fix problems with advanced search filter display on search results page.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Bootstrap Customizations
Terran McCanna [Thu, 24 Dec 2020 00:22:31 +0000 (19:22 -0500)]
PINES Bootstrap Customizations

Omnibus 2 - collection of customizations, mostly to
translation strings.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoUpdates PINES eg2 splash page to match eg1.
Tiffany Little [Fri, 18 Dec 2020 18:36:30 +0000 (13:36 -0500)]
Updates PINES eg2 splash page to match eg1.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
4 years agoUpdates link for Advanced Search on splash screen.
Tiffany Little [Fri, 18 Dec 2020 18:04:32 +0000 (13:04 -0500)]
Updates link for Advanced Search on splash screen.

4 years agoLP1908298 Bootstrap OPAC: Type filter missing from advanced search
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.

Signed-off-by: Garry Collum <gcollum@gmail.com>
4 years agoLP1907286 Staff catalog sets last retrieved record
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.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP1895676: Record Print and Email Enhancements for Bootstrap OPAC
Jason Boyer [Fri, 4 Dec 2020 19:13:48 +0000 (14:13 -0500)]
LP1895676: Record Print and Email Enhancements for Bootstrap OPAC

Bring the improvements from LP1749475 to the Bootstrap OPAC.

Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
4 years agoChanges the color of the Place Hold button to green.
Tiffany Little [Thu, 17 Dec 2020 14:21:09 +0000 (09:21 -0500)]
Changes the color of the Place Hold button to green.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
4 years agoUpdates the lineitem catalog link to point to the new Angular catalog.
Tiffany Little [Wed, 16 Dec 2020 18:40:20 +0000 (13:40 -0500)]
Updates the lineitem catalog link to point to the new Angular catalog.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
4 years agoPINES Customization: Added Content Fix
Terran McCanna [Wed, 16 Dec 2020 16:32:55 +0000 (11:32 -0500)]
PINES Customization: Added Content Fix

This adds a missing line that I left off of the previous added
content customization for the bootstrap OPAC.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoOPAC: restore books image for carousels
Chris Sharp [Wed, 16 Dec 2020 13:25:14 +0000 (08:25 -0500)]
OPAC: restore books image for carousels

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
4 years agoStaff Client: remove Classic Circulation View from core sources
Chris Sharp [Tue, 15 Dec 2020 20:17:03 +0000 (15:17 -0500)]
Staff Client: remove Classic Circulation View from core sources

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
4 years agoLP1840950 Patron expiration date & iPads
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.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1881607 Angular catalog located URIs
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.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP1881607 Angular catalog e-resource links display
Bill Erickson [Mon, 1 Jun 2020 16:32:21 +0000 (12:32 -0400)]
LP1881607 Angular catalog e-resource links display

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.

To test in concerto, navigate to:

/eg2/staff/catalog/record/208

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoPINES OPAC Customization: Make Lists Prettier
Terran McCanna [Fri, 11 Dec 2020 23:06:04 +0000 (18:06 -0500)]
PINES OPAC Customization: Make Lists Prettier

Note that more work should be done on master to make lists more
user-friendly, but this will be fine for us now.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES OPAC Customization: Renewals Remaining Tooltip
Terran McCanna [Fri, 11 Dec 2020 21:26:55 +0000 (16:26 -0500)]
PINES OPAC Customization: Renewals Remaining Tooltip

Move tooltip from each row in My Account > Items Out to column header.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES OPAC Customization: Reduce size of item title
Terran McCanna [Fri, 11 Dec 2020 20:03:13 +0000 (15:03 -0500)]
PINES OPAC Customization: Reduce size of item title

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES OPAC Customization: Fix layout problem with login modal
Terran McCanna [Thu, 10 Dec 2020 23:01:45 +0000 (18:01 -0500)]
PINES OPAC Customization: Fix layout problem with login modal

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES OPAC Customization: Library Hours on Info Page
Terran McCanna [Thu, 10 Dec 2020 22:45:20 +0000 (17:45 -0500)]
PINES OPAC Customization: Library Hours on Info Page

Add note to check library web site for details.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES OPAC Customization: Updates to Library Info Page
Terran McCanna [Thu, 10 Dec 2020 22:39:27 +0000 (17:39 -0500)]
PINES OPAC Customization: Updates to Library Info Page

- Add map link
- Re-order and format info

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1902120 Rename All Parts to Any Part in Hold Placement
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.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Receipt Template Customization: Patron Data
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.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1894131 Sticky catalog holdings org select
Bill Erickson [Fri, 16 Oct 2020 14:41:46 +0000 (10:41 -0400)]
LP1894131 Sticky catalog holdings org select

Adds a workstation setting to make the org selector in the catalog
holdings tab sticky.

Also repairs some logic errors in the org select persistKey loading.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP1896285 Batch mark item missing serialized
Bill Erickson [Wed, 2 Dec 2020 22:02:24 +0000 (14:02 -0800)]
LP1896285 Batch mark item missing serialized

Process batches of items one at a time when marking them lost to avoid
sending too many parallel requests to the server.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP1896285 Patron search add to bucket serialize
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.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP1896285 Add new items avoids looping settings lookup
Bill Erickson [Mon, 14 Dec 2020 23:02:39 +0000 (15:02 -0800)]
LP1896285 Add new items avoids looping settings lookup

Refactor AngJS volcopy item add actions so it makes the minumum
necessary settings API calls for default copy status.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1887429 Holds supports circ.staff_placed_holds_fallback_to_ws_ou
Bill Erickson [Wed, 23 Sep 2020 18:24:13 +0000 (14:24 -0400)]
LP1887429 Holds supports circ.staff_placed_holds_fallback_to_ws_ou

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>
5 years agoLP1887429 Properly handle user settings in staffcat holds
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>
5 years agoSQL: add dewey reports view
Chris Sharp [Mon, 7 Dec 2020 15:42:03 +0000 (10:42 -0500)]
SQL: add dewey reports view

5 years agoLP1813191: Add a Dewey Classification View to acn
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>
5 years agoLP1889128 Activation date repair and form reset handling
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>
5 years agoLP1889128 <eg-date-select/> clearable via model
Bill Erickson [Tue, 3 Nov 2020 20:03:23 +0000 (15:03 -0500)]
LP1889128 <eg-date-select/> clearable via model

Allow users of <eg-date-select /> to clear the selected value (set
current = null) via updates to their ngModel variable.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
5 years agoLP1889128 Support user settings for SMS prefs
Bill Erickson [Mon, 19 Oct 2020 15:03:43 +0000 (11:03 -0400)]
LP1889128 Support user settings for SMS prefs

Honor the user setting values 'opac.default_sms_carrier' and
'opac.default_sms_notify' in the Angular staff catalog place holds form.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
5 years agoLP1889128 Clear patron barcode on staff hold
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>