]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
5 months agoLP#2039750 Save Stat Cat Grid Settings user/dbriem/lp2039750_stat_cat_grid_ws_settings
Dan Briem [Sun, 5 Nov 2023 21:20:23 +0000 (21:20 +0000)]
LP#2039750 Save Stat Cat Grid Settings

Adds workstation settings to persist item and user stat cat
grid preferences.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
5 months agoLP2015163 Force MARC fixed field layout refresh
Stephanie Leary [Fri, 10 Nov 2023 15:51:32 +0000 (15:51 +0000)]
LP2015163 Force MARC fixed field layout refresh

Removes a check that was intended to speed up MARC record loading, but
was preventing the fixed fields from refreshing between consecutive MARC
record views, as when paging between search results of mixed record
types.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2043424 Button for clipboard dialog action
Stephanie Leary [Mon, 13 Nov 2023 21:29:59 +0000 (21:29 +0000)]
LP2043424 Button for clipboard dialog action

Changes a link to a button in the clipboard dialog component to allow
keyboard users to copy the clipboard value.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2043134 Fix match set expression form button size
Stephanie Leary [Fri, 10 Nov 2023 16:19:43 +0000 (16:19 +0000)]
LP2043134 Fix match set expression form button size

Places the MARC import/export match set expression buttons in columns to
avoid the forced full-width effect of items outside defined columns in
Bootstrap 5 rows.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2023579 - Fix for renaming new statistical catergories editor
briankennedy [Thu, 24 Aug 2023 19:51:20 +0000 (12:51 -0700)]
LP2023579 - Fix for renaming new statistical catergories editor

To reproduce:
1) Go to Local Administrator splash menu
2) Note that "Statistical Categories Editor" was split between "Patron" and "Item" and the new naming put these out of alphabetical order

The fix:
The relevent Satistical Categories Editors have been renamed to fit alphabetical order
Each Editor page has been renamed to better match the link title.

Updated to reflect suggestions on LP

Signed-off-by: briankennedy <brian.kennedy@bc.libraries.coop>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2023579 - Fix for renaming new statistical catergories editor
briankennedy [Tue, 22 Aug 2023 18:05:46 +0000 (11:05 -0700)]
LP2023579 - Fix for renaming new statistical catergories editor

To reproduce:
1) Go to Local Administrator splash menu
2) Note that "Statistical Categories Editor" was split between "Patron" and "Item" and the new naming put these out of alphabetical order

The fix:
The relevent Satistical Categories Editors have been renamed to fit alphabetical order
Each Editor page has been renamed to better match the link title.

Signed-off-by: briankennedy <brian.kennedy@bc.libraries.coop>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2043421 ARIA labels for date, datetime selects
Stephanie Leary [Mon, 13 Nov 2023 21:18:39 +0000 (21:18 +0000)]
LP2043421 ARIA labels for date, datetime selects

Adds aria-label attributes to the inputs in the date select and datetime
select components for screen reader compatibility.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP1947906 Remove spellcheck="false" on MARC inputs
Stephanie Leary [Tue, 3 Jan 2023 17:44:40 +0000 (11:44 -0600)]
LP1947906 Remove spellcheck="false" on MARC inputs

Removes the spellcheck="false" attributes on editable content fields in
the MARC rich editor, to allow browser-based spellcheckers to work as
expected. This change does not affect the flat editor.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP1920230 Localize staffcat items, holds, copy count
Stephanie Leary [Fri, 10 Nov 2023 22:38:05 +0000 (22:38 +0000)]
LP1920230 Localize staffcat items, holds, copy count

Localizes strings relating to holds, copy counts, and creators in the
staff catalog record view.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2041431 EG 3.12 Docs for OpenSRF+Redis configs
Bill Erickson [Thu, 26 Oct 2023 19:31:02 +0000 (15:31 -0400)]
LP2041431 EG 3.12 Docs for OpenSRF+Redis configs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
5 months agoLP2041431 EG opensrf_core.example for Redis; defaults to Ejab.
Bill Erickson [Tue, 24 Oct 2023 19:20:51 +0000 (15:20 -0400)]
LP2041431 EG opensrf_core.example for Redis; defaults to Ejab.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
5 months agoDOCS: LP#1871211 Follow-up eg_vhost.conf
blake [Tue, 14 Nov 2023 15:03:00 +0000 (09:03 -0600)]
DOCS: LP#1871211 Follow-up eg_vhost.conf

Adding documentation blurb for editing eg_vhos.conf
for enabling Shibboleth.

Signed-off-by: blake <blake@mobiusconsortium.org>
5 months agoLP2017941 EG Redis package prereqs
Bill Erickson [Tue, 24 Oct 2023 19:38:41 +0000 (15:38 -0400)]
LP2017941 EG Redis package prereqs

Install Redis packages by default even when not using OpenSRF+Redis to
ease the transition.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2017941 Auto-reset bus accounts; docs update
Bill Erickson [Thu, 26 Oct 2023 18:25:17 +0000 (14:25 -0400)]
LP2017941 Auto-reset bus accounts; docs update

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2017941 Fix failure to find hiredis headers
Jason Stephenson [Tue, 24 Oct 2023 20:23:28 +0000 (16:23 -0400)]
LP2017941 Fix failure to find hiredis headers

When building Evergreen with Redis, oils_dataloader and oils_requestor
fail to find the hiredis headers. This patch adds entries to the
Makefile.ams to resolve this.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2017941 Redis upgrade documentation
Bill Erickson [Fri, 15 Sep 2023 15:32:55 +0000 (15:32 +0000)]
LP2017941 Redis upgrade documentation

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2017941 Fix EG 'make check'
Bill Erickson [Mon, 26 Jun 2023 17:06:42 +0000 (13:06 -0400)]
LP2017941 Fix EG 'make check'

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2017941 clean up some configure logging
Bill Erickson [Mon, 5 Jun 2023 19:40:22 +0000 (15:40 -0400)]
LP2017941 clean up some configure logging

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2017941 Propagate bus passwords at EG install time
Bill Erickson [Mon, 1 May 2023 16:27:39 +0000 (12:27 -0400)]
LP2017941 Propagate bus passwords at EG install time

Copy Redis passwords into EG's opensrf_core.xml.example file at
build/install time, so it all Just Works.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2017941 opensrf_core.xml.example gets redis mods
Bill Erickson [Fri, 2 Dec 2022 22:34:25 +0000 (22:34 +0000)]
LP2017941 opensrf_core.xml.example gets redis mods

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoFix for 'LP1990018: Fix libdbi build'
Bill Erickson [Sat, 19 Nov 2022 22:07:11 +0000 (17:07 -0500)]
Fix for 'LP1990018: Fix libdbi build'

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2017941 RediSRF libhiredis compile support
Bill Erickson [Tue, 11 Jan 2022 15:14:12 +0000 (10:14 -0500)]
LP2017941 RediSRF libhiredis compile support

TEMP disable booking until alt. method of configuration is in place.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2042358 Restore result pagination link padding
Stephanie Leary [Tue, 31 Oct 2023 20:24:52 +0000 (20:24 +0000)]
LP2042358 Restore result pagination link padding

Restores the record search result pagination link button padding lost in
the changes for bug 1615714.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2039483 Subheadings for staff catalog record page
Stephanie Leary [Mon, 16 Oct 2023 19:20:54 +0000 (19:20 +0000)]
LP2039483 Subheadings for staff catalog record page

Adds headings level 2, 3, and 4 to the staff catalog's individual record
page to facilitate better in-page navigation for screen reader users.
Styles have been added to negate the font styles usually applied to
headings, so the page is visually unchanged.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Ruth Davis <rfrasur@library.in.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP#2023692: stamp upgrade script
Jane Sandberg [Mon, 13 Nov 2023 23:31:42 +0000 (15:31 -0800)]
LP#2023692: stamp upgrade script

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP#2023692: Remove unused DYM settings from existing installations
Chris Sharp [Sun, 12 Nov 2023 17:10:18 +0000 (12:10 -0500)]
LP#2023692: Remove unused DYM settings from existing installations

Remove 6 unused org settings from existing installations:

'opac.did_you_mean.low_result_threshold',
'opac.did_you_mean.max_suggestions',
'search.symspell.keyboard_distance.weight',
'search.symspell.min_suggestion_use_threshold',
'search.symspell.pg_trgm.weight',
'search.symspell.soundex.weight'

Harmless to run if the settings do not exist.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2040305 MARC Barch Import/Export Queue Links should open in a New Tab
Garry Collum [Fri, 27 Oct 2023 20:02:19 +0000 (20:02 +0000)]
LP2040305 MARC Barch Import/Export Queue Links should open in a New Tab

Fixes the links for the bib ID in the Record ID column of the Record Matches tab and the
linke for the bib ID in the Imported As column in the main queue page, so that they open
in a new browser tab.

I tested by:
1. In the Concerto data I created a record match set for 901c
2. I exported 4 marc records from the data and changed the title for two of these marc records,
 and removed the 901c for theother two.
3. On reimport - two records were merged and two new records were created.
4. On reimport the Imported As links on the main page, and in this case the
Record ID links for the records that were merge can be tested.
5. Clicking the links open the bib record in the same page.
6. Applying the patch and retesting should result in the pages opening in new tabs.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2037666 Font size, color for report output links
Stephanie Leary [Tue, 31 Oct 2023 16:27:55 +0000 (16:27 +0000)]
LP2037666 Font size, color for report output links

Sets the report output font size to the user's default, and removes the
.dim class from the debugging link.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2017673: Default item alert types
Jane Sandberg [Sun, 8 Oct 2023 14:09:56 +0000 (07:09 -0700)]
LP2017673: Default item alert types

Also, fix two accessibility issues that nightwatch/axe found

To test:

1. Open your favorite bib record in the angular staff catalog
2. In the item table, choose an item and press Edit
3. Open the Preferences Tab
4. Under the Item Attribute Settings heading, select your favorite item alert type as the default
5. Open the Item Attributes tab.
6. Press the Item Alerts button.
7. Note that your favorite item alert type is now the default.
8. Add various alerts, with a variety of alert types.
9. Press the Apply Changes button.
10. Press the "Apply All, Save & Exit" button
11. Press Edit again
12. Press the Item Alerts button again.
13. Confirm that the correct item alert types are listed.

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1929588: address linting errors and bug
Jane Sandberg [Fri, 20 Oct 2023 11:37:57 +0000 (04:37 -0700)]
lp1929588: address linting errors and bug

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP1929588 (follow-up): make string translatable
Jane Sandberg [Thu, 7 Apr 2022 22:25:27 +0000 (15:25 -0700)]
LP1929588 (follow-up): make string translatable

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agolp1929588 Duplicate Course add Copy to course name
Kyle Huckins [Thu, 17 Mar 2022 17:09:47 +0000 (17:09 +0000)]
lp1929588 Duplicate Course add Copy to course name

- Append " (Copy)" to new course name

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agolp1929588 Duplicate Course
Kyle Huckins [Sun, 27 Feb 2022 04:44:37 +0000 (04:44 +0000)]
lp1929588 Duplicate Course

- Add Grid action to duplicate existing course

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoAdding release note for improved OPAC 856 display
Mike Rylander [Mon, 13 Nov 2023 16:12:17 +0000 (11:12 -0500)]
Adding release note for improved OPAC 856 display

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP#1992827: Improve OPAC URI display
Mike Rylander [Thu, 13 Oct 2022 16:12:42 +0000 (12:12 -0400)]
LP#1992827: Improve OPAC URI display

Currently, the web staff client displays URIs in a slightly different
(and arguably better/more complete) way than the OPAC. In particular,
the staff client includes any 856 with an ind2 value of 0, 1, or 2, and
provides a label indicating the purpose of the URI based on the ind2
value. The OPAC, on the other hand, only displays 856s with an ind2 of 0
or 1, and does not distinguish the purpose.

This commit both implements the "purpose" labeling and allows ind2=2
URIs to be displayed.  Both BooPAC and TPAC templates are adjusted.

This does not change the way Located URIs are excluded from OPAC
display, they are still filtered out based on the existence of subfield
9.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agolp1895699: search results page lets user know that course materials filter has been...
Jane Sandberg [Thu, 9 Nov 2023 03:07:28 +0000 (19:07 -0800)]
lp1895699: search results page lets user know that course materials filter has been applied

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP1895699: make available and on_reserve filters play nice in the staff catalog
Jane Sandberg [Wed, 8 Nov 2023 04:33:51 +0000 (20:33 -0800)]
LP1895699: make available and on_reserve filters play nice in the staff catalog

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP1993824 Stamping upgrade script
Terran McCanna [Mon, 13 Nov 2023 22:49:20 +0000 (17:49 -0500)]
LP1993824 Stamping upgrade script

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP1993824 Seed SQL cleanup
Bill Erickson [Fri, 10 Nov 2023 20:03:49 +0000 (15:03 -0500)]
LP1993824 Seed SQL cleanup

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Jason Etheridge <phasefx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: alert message
Jason Etheridge [Tue, 31 Oct 2023 03:45:43 +0000 (23:45 -0400)]
lp1993824: alert message

Signed-off-by: Jason Etheridge <phasefx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: verify all urls action
Jason Etheridge [Tue, 31 Oct 2023 03:10:16 +0000 (23:10 -0400)]
lp1993824: verify all urls action

Signed-off-by: Jason Etheridge <phasefx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: reusable eg-back-button
Jason Etheridge [Tue, 31 Oct 2023 02:19:03 +0000 (22:19 -0400)]
lp1993824: reusable eg-back-button

Signed-off-by: Jason Etheridge <phasefx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: label for manage grid filters
Jason Etheridge [Tue, 31 Oct 2023 01:09:48 +0000 (21:09 -0400)]
lp1993824: label for manage grid filters

Signed-off-by: Jason Etheridge <phasefx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: release notes
Jason Etheridge [Tue, 15 Aug 2023 07:35:56 +0000 (03:35 -0400)]
lp1993824: release notes

Corrected minor merge conflict

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: linkchecker; UI
Jason Etheridge [Sat, 4 Mar 2023 15:45:11 +0000 (10:45 -0500)]
lp1993824: linkchecker; UI

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: linkchecker; sql
Jason Etheridge [Sun, 12 Mar 2023 13:33:27 +0000 (09:33 -0400)]
lp1993824: linkchecker; sql

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: linkchecker; perl
Jason Etheridge [Sun, 12 Mar 2023 16:07:26 +0000 (12:07 -0400)]
lp1993824: linkchecker; perl

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: linkchecker; IDL
Jason Etheridge [Sat, 4 Mar 2023 15:44:58 +0000 (10:44 -0500)]
lp1993824: linkchecker; IDL

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: grids enhancement; support for saving filter sets
Jason Etheridge [Mon, 13 Mar 2023 18:51:20 +0000 (14:51 -0400)]
lp1993824: grids enhancement; support for saving filter sets

turned off by default

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: grids enhancement; add grid button adjacent labels to eg-grid
Jason Etheridge [Wed, 8 Mar 2023 12:32:53 +0000 (07:32 -0500)]
lp1993824: grids enhancement; add grid button adjacent labels to eg-grid

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agolp1993824: grids bug fix; disabled attribute on eg-grid-toolbar-action
Jason Etheridge [Sun, 5 Mar 2023 18:40:31 +0000 (13:40 -0500)]
lp1993824: grids bug fix; disabled attribute on eg-grid-toolbar-action

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP1895699 Stamping upgrade script
Terran McCanna [Mon, 13 Nov 2023 22:33:29 +0000 (17:33 -0500)]
LP1895699 Stamping upgrade script

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP1895699 follow-up: fix form/column classes
Stephanie Leary [Mon, 6 Nov 2023 20:48:59 +0000 (20:48 +0000)]
LP1895699 follow-up: fix form/column classes

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP1895699: Add an on_reserve search filter
Jane Sandberg [Sun, 28 Feb 2021 05:47:12 +0000 (21:47 -0800)]
LP1895699: Add an on_reserve search filter

This filter allows users to limit their search to records that are
attached to courses at particular libraries, like so:

    biology on_reserve(5, 10)

The filter can also be negated to search for records that are not
attached to a course:

    biology -on_reserve(5)

Also includes some additional bib records and courses to facilitate
testing.

A test using the concerto data set:
1) In the OPAC, run the following search at BR3: type
2) Note that you get 5 results
3) Run this search at BR3: type on_reserve(6)
4) Note that it's down to 2 results
5) Run this search at BR3: type -on_reserve(6)
6) Note that you get 3 results -- the 3 that were included in step 2 but
   not step 5.

Another test using concerto data set:
1) Ensure that your org is opted in to the Course Materials module,
   and that you don't have an old value of that library setting
   cached.
2) Use the advanced search screen to search for `graphic` at BR3
3) Check that the "Limit to course materials" checkbox works as
   expected.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP1968754: address a few more bugs in instructor search
Jane Sandberg [Tue, 9 May 2023 23:29:23 +0000 (16:29 -0700)]
LP1968754: address a few more bugs in instructor search

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
5 months agoLP1968754: Better handling for blank and wildcard course searches
Jane Sandberg [Fri, 20 May 2022 19:26:57 +0000 (13:26 -0600)]
LP1968754: Better handling for blank and wildcard course searches

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
5 months agoLP1968754: refactor where clause into its own subroutine
Jane Sandberg [Fri, 20 May 2022 15:48:43 +0000 (09:48 -0600)]
LP1968754: refactor where clause into its own subroutine

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
5 months agoLP#1966096: check permissions when deleting lineitem
Jeff Davis [Thu, 26 May 2022 21:43:58 +0000 (14:43 -0700)]
LP#1966096: check permissions when deleting lineitem

Hitherto EG has only prevented you from deleting a lineitem if it's
attached to a picklist belonging to someone else (in which case the
deletion would silently fail).  This commit checks whether you have the
CREATE_PURCHASE_ORDER perm if the line item is attached to a purchase
order, or else the CREATE_PICKLIST perm if the line item is attached to
a picklist.

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Eva Cerniňáková <cerninakova@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP1999158 Form labels for eg-org-select component
Stephanie Leary [Tue, 6 Dec 2022 22:27:20 +0000 (16:27 -0600)]
LP1999158 Form labels for eg-org-select component

Adds input directives to <eg-org-select> to support <label> tags with
various options. Label tags are included alongside inputs unless
explicitly suppressed. Where a visible label would disrupt the current
layout, the "visually-hidden" CSS class may be used to hide the label
visually while leaving it available to screen readers.

All current instances of <eg-org-select> have been updated. Where labels
already existed, those with specific layout requirements have been
adjusted only to add missing "for" attributes, and the component's
automatic output is suppressed with "visually-hidden". While this
sometimes results in two <label> tags being present in the DOM, this is
valid and doesn't cause any issues.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP1956510: stamp upgrade script
Jane Sandberg [Mon, 13 Nov 2023 20:29:48 +0000 (12:29 -0800)]
LP1956510: stamp upgrade script

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP1956510 Release note
Tiffany Little [Mon, 13 Nov 2023 15:29:13 +0000 (10:29 -0500)]
LP1956510 Release note

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
5 months agoLP1956510 Move interface to its own admin pages
Tiffany Little [Mon, 30 Oct 2023 18:01:32 +0000 (14:01 -0400)]
LP1956510 Move interface to its own admin pages

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
5 months agoLP#1956510: add grid settings
Galen Charlton [Wed, 14 Jun 2023 14:12:43 +0000 (10:12 -0400)]
LP#1956510: add grid settings

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
5 months agoLP#1956510: mark acqfy and acqfc fields as required in the IDL
Galen Charlton [Wed, 14 Jun 2023 13:56:53 +0000 (09:56 -0400)]
LP#1956510: mark acqfy and acqfc fields as required in the IDL

This ensures that the non-NULL fields in for the fiscal year
and fiscal calendar must have values supplied during creation
and editing. (However, at the moment, Evergreen's Angular datepicker
does not implement checks for the date value being mandatory)

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
5 months agoLP1956510 Add interface for acq fiscal calendar and years
Tiffany Little [Wed, 14 Jun 2023 12:28:14 +0000 (08:28 -0400)]
LP1956510 Add interface for acq fiscal calendar and years

Adds an interface to display Acq fiscal calendar and years. Governed by the ADMIN_ACQ_FISCAL_YEAR permission.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
5 months agoLP#2040312 Holds: Circulating and Transit Library Shortnames
Dan Briem [Sat, 4 Nov 2023 19:09:36 +0000 (19:09 +0000)]
LP#2040312 Holds: Circulating and Transit Library Shortnames

Adds the copy's circulating library and transit source shortnames
to the Angular holds grid.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP#1998605 Prevent Checked Out Items from Being Marked Missing
Dan Briem [Mon, 23 Oct 2023 22:28:00 +0000 (22:28 +0000)]
LP#1998605 Prevent Checked Out Items from Being Marked Missing

- Remove mark missing actions from the patron items out grids.
- The circ.mark_item... service will not allow a checkin
  attempt on a checked out item if it's being marked missing.
- Keep the promise chain alive in AngularJS when marking
  multiple items missing and one fails (consistent with the
  behavior in Angular).

To test:
- Patron items out grids should not display missing actions.
- Item status (both detail and list view) should not allow
  checked out items to be marked missing.
- While checked out items shouldn't typically appear on the
  pull list, holds shelf, or patron holds grids, if stale data
  is there (ex. multiple tabs), checked out items will not be
  marked missing.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP#2039114: fix typo to display Request A Card link on login form based on physical_loc
Jeff Davis [Thu, 12 Oct 2023 00:03:07 +0000 (17:03 -0700)]
LP#2039114: fix typo to display Request A Card link on login form based on physical_loc

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Llewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2019031 Prefix line items' checkbox IDs
Stephanie Leary [Tue, 31 Oct 2023 16:12:39 +0000 (16:12 +0000)]
LP2019031 Prefix line items' checkbox IDs

Adds a 'lineitem-' prefix to the row selection checkboxes' IDs in line
item lists, such as those on a purchase order. This prevents JavaScript
errors related to element IDs that start with numbers.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Ruth Davis <rfrasur@library.in.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2036313 Labels for catalog search preferences
Stephanie Leary [Mon, 30 Oct 2023 21:30:48 +0000 (21:30 +0000)]
LP2036313 Labels for catalog search preferences

Adds <label> tags for the inputs on the catalog search preferences
screen (other than org unit selectors; see bug 1999158).

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Ruth Davis <rfrasur@library.in.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2009853 Labels for org unit setting editor values
Stephanie Leary [Mon, 30 Oct 2023 22:22:49 +0000 (22:22 +0000)]
LP2009853 Labels for org unit setting editor values

Adds <label> tags and IDs to the value inputs in the org unit settings
editor modal.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Ruth Davis <rfrasur@library.in.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2016742 Caption title spacing correction
Stephanie Leary [Tue, 31 Oct 2023 19:22:47 +0000 (19:22 +0000)]
LP2016742 Caption title spacing correction

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Ruth Davis <rfrasur@library.in.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2016742 Caption titles for shelving location table
Stephanie Leary [Mon, 1 May 2023 18:40:02 +0000 (18:40 +0000)]
LP2016742 Caption titles for shelving location table

Updates the caption of the shelving locations table to include the title
and author.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2016742 <table> for shelving locations (staff)
Stephanie Leary [Mon, 17 Apr 2023 21:34:31 +0000 (21:34 +0000)]
LP2016742 <table> for shelving locations (staff)

Replaces div-based markup with a table for the shelving locations in the
staff catalog search results.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP2032717: fix endless observable loop in booking create reservation
Jane Sandberg [Thu, 26 Oct 2023 22:42:29 +0000 (15:42 -0700)]
LP2032717: fix endless observable loop in booking create reservation

Previously, this pipe/tap had an unusual behavior when a resourceId
was passed in via url params.  `from` created an Observable from
the this.resources array, but `tap` tried to add to that same array
that was under observation.  This apparently worked before the Angular
15 migration, but afterwards caused an infinite loop.

If the resourceId is passed in, we know there will only be a single
resource in this.resources.  Therefore, we can just observe the first
element of the array in these cases.

This commit also eliminates one unnecessary trip through fetchData().

To test:
* Go to Booking > Create Reservation
* Choose the "Choose resource by barcode" tab
* Type in ROOM1231 (the barcode of a non-cataloged resource in the concerto data set)
* Confirm that you can place the reservation

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Christine Burns <christine.burns@bc.libraries.coop>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 months agoLP#1855144 - Angular Volcopy - Skip duplicate item alerts from template
Josh Stompro [Mon, 28 Aug 2023 15:37:21 +0000 (10:37 -0500)]
LP#1855144 - Angular Volcopy - Skip duplicate item alerts from template

When applying a template in the Angular volcopy editor, skip applying
a duplicate item alert.  Prevents multiple alerts being applied
when a template gets applied more than once.

Testing Notes:

1. Create a copy template that includes one or more item alerts.
  Use the AngularJS holdings editor to do so Admin -> local admin ->
  Holdings Template Editor.

2. After saving, log out and back in.  I've noticed my template
   edits in the AngularJS interface sometimes don't make it
   to the Angular interface witout logging out and back in.

3. Edit an item in the Angular holdings editor
   /eg2/en-US/staff/cat/volcopy/holdings/item/xxxx

4. Apply the template several times and save the copy.

5. Check for duplicate item alerts.

There will also be a console for message about duplicate
alerts being detected when applying the template.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
5 months agoLP192012 Localize staff catalog search placeholders
Stephanie Leary [Fri, 10 Nov 2023 21:14:24 +0000 (21:14 +0000)]
LP192012 Localize staff catalog search placeholders

Allows the staff catalog search form placeholder text to be localized.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
5 months agoLP1754364: Show timezone combobox in library settings editor
Jane Sandberg [Wed, 17 May 2023 23:39:21 +0000 (16:39 -0700)]
LP1754364: Show timezone combobox in library settings editor

To test:
1. Go to Admin > Local Administration > Library Settings Editor
2. Find the Timezone setting in the list of settings
3. Confirm that the timezone select is a typeahead that autocompletes
any valid timezone

This was created in collaboration with the New Developers Working Group
at the May 2023 meeting

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Co-authored-by: New Developers Working Group
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoFix test failure
Jane Sandberg [Sun, 12 Nov 2023 20:14:27 +0000 (12:14 -0800)]
Fix test failure

Two issues with this test:
* It passed or failed depending on the default firefox screen size.  Let's specify a large screen size, to be certain not to fail on this again.
* The order of the holdings grid had changed, so the asssertion of the specific barcode number failed.  I updated the barcode number to match, but this seems like it could be flakey in the future too.

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2043238 Color contrast for staff tab links
Stephanie Leary [Fri, 10 Nov 2023 21:05:17 +0000 (21:05 +0000)]
LP2043238 Color contrast for staff tab links

Updates the link color used in tabbed interfaces so that the tab links
are the same darker blue color as most other links.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2040319 Acq dropdowns should open on click
Stephanie Leary [Tue, 31 Oct 2023 22:40:42 +0000 (22:40 +0000)]
LP2040319 Acq dropdowns should open on click

Adds [asyncSupportsEmptyTermClick]="true" to the selection list and
purchase order comboboxes in the Line Items Related to Bib Record
screen. This allows them to open on click when nothing has been entered
into the input.

Also fixes a typo in the screen title.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP#2040528 Marc Editor Stack Subfields Bootstrap 5 Fix
Dan Briem [Mon, 30 Oct 2023 04:12:40 +0000 (04:12 +0000)]
LP#2040528 Marc Editor Stack Subfields Bootstrap 5 Fix

Replaces the form-inline class with flex utility classes for
stacked subfields and removes a custom height calc to match
form-control heights in the marc editor. These were removed
in Bootstrap 5.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP1626139 Remove References to OSRFGatewayLegacyJSON
Bill Erickson [Wed, 23 Aug 2023 14:53:48 +0000 (10:53 -0400)]
LP1626139 Remove References to OSRFGatewayLegacyJSON

With the deprecation of OSRFGatewayLegacyJSON in OpenSRF, update the
Evergreen example Apache confugration to suit.  Includes upgrade notes
about removal.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2032753: Update messages.cs-CZ.xtb from poeditor
Jane Sandberg [Fri, 22 Sep 2023 14:02:43 +0000 (07:02 -0700)]
LP2032753: Update messages.cs-CZ.xtb from poeditor

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Linda Jansova <linda.jansova@gmail.com>
5 months agoLP2032753: Fix i18n placement for home icon
Jane Sandberg [Fri, 22 Sep 2023 12:59:03 +0000 (05:59 -0700)]
LP2032753: Fix i18n placement for home icon

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Linda Jansova <linda.jansova@gmail.com>
5 months agoLP2012402 follow-up: let tests know about PcrudService constructor's new API
Jane Sandberg [Sun, 12 Nov 2023 00:27:31 +0000 (16:27 -0800)]
LP2012402 follow-up: let tests know about PcrudService constructor's new API

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2012402 Authoritative APIs are optional; disabled by default
Bill Erickson [Tue, 21 Mar 2023 15:27:25 +0000 (11:27 -0400)]
LP2012402 Authoritative APIs are optional; disabled by default

Adds a new setting to opensrf.xml called 'uses_pooled_read_replica_dbs'
which controls whether Evergreen enables support for "authoritative" API
calls.

When disabled, the ".authoritative" API variant is simply a clone of the
non-authoritative version.  Similarly, the Angular PCRUD service will
avoid making transaction begin/rollback calls when the 'authoritative'
PCRUD option is passed locally.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP#2015484: Fix --descendants option in marc_export
Jason Stephenson [Wed, 1 Nov 2023 13:57:37 +0000 (09:57 -0400)]
LP#2015484: Fix --descendants option in marc_export

It looks like an errant call to `grep` was added with the
--exclude-hidden parameter that caused issues with the --descendants
option when --exclude-hidden is not in use. This commit removes that
grep.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP#2015484: add in a check to exclude bibs that have no items
Josh Stompro [Wed, 2 Aug 2023 15:09:25 +0000 (10:09 -0500)]
LP#2015484: add in a check to exclude bibs that have no items
when the --exclude-hidden argument is used.

Handles --uris by checking if a located URI exists before excluding
a bib because of no items.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP#2015484: (follow-up) ensure that -e means --encoding
Galen Charlton [Fri, 7 Apr 2023 13:39:27 +0000 (09:39 -0400)]
LP#2015484: (follow-up) ensure that -e means --encoding

This preserves backwards compatiblity.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP#2015484: add --exclude-hidden option to marc_export
Galen Charlton [Mon, 3 Apr 2023 22:19:21 +0000 (18:19 -0400)]
LP#2015484: add --exclude-hidden option to marc_export

This option, when used in conjunction with the various
options that export items, excludes ones that are suppressed
from the OPAC.

To test
-------
[1] Various make some items OPAC-hidden via the four
    ways that this can be done in Evergreen (i.e.,
    org_unit, item, item status, or shelving location).
[2] Apply the patch and run marc_export with
    --exclude-hidden, --items, and/or combinations of
    --library and --descendants.
[3] Verify that the hidden items are not emitted in
    the 852 fields.
[4] Also verify that bibs that have no visible items
    are also excluded.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2041364: Add release notes
Jason Stephenson [Tue, 31 Oct 2023 17:30:19 +0000 (13:30 -0400)]
LP2041364: Add release notes

Add 2 lines to the miscellaneous.adoc release notes for the
marc_export script improvements.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2041364: Remove extra whitespace
Jason Stephenson [Tue, 31 Oct 2023 17:04:58 +0000 (13:04 -0400)]
LP2041364: Remove extra whitespace

Delete unnecessary trailing whitespace on a couple lines of
marc_export.in.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP#2041364 - Switch to hash lookups instead of arrays.
Josh Stompro [Mon, 30 Oct 2023 19:57:48 +0000 (14:57 -0500)]
LP#2041364 - Switch to hash lookups instead of arrays.

Switched the lookups for orgs, shelves, affixes and statuses from arrays
to hashes, so grep calls are not needed.

This performs much faster in my testing, removing about a minute from
my 10 minute run time.

Also includes setting up a prepared statement for acp query.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2041364: Fix a mistake in the marc_export error reporting code
Jason Stephenson [Mon, 30 Oct 2023 17:29:30 +0000 (13:29 -0400)]
LP2041364: Fix a mistake in the marc_export error reporting code

While working on marc_export performance, I stumbled upon the fact
that the error reporting for the wrong --type export would actually
report the formats. This commit fixes the error reporting to use the
correct variable for types.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2041364: Refactor marc_export cursor code
Jason Stephenson [Mon, 30 Oct 2023 17:27:13 +0000 (13:27 -0400)]
LP2041364: Refactor marc_export cursor code

Refactor the cursor code in marc_export to be more transparent to the
internal code.

Add the cursor code the Marque::Authority extractor.

Add a --batch-size option to specify how many rows to fetch from the
cursor at once. The default is 10000.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP#2041364 - Use a cursor to load 10000 bibs at a time.
Josh Stompro [Fri, 27 Oct 2023 20:37:46 +0000 (15:37 -0500)]
LP#2041364 - Use a cursor to load 10000 bibs at a time.

Keeps memory usage down to a more reasonable level.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP2041364: Attempt to speed up 852 insertion in marc_export
Jason Stephenson [Fri, 27 Oct 2023 19:22:54 +0000 (15:22 -0400)]
LP2041364: Attempt to speed up 852 insertion in marc_export

Instead of using MARC::Record->insert_grouped_field on the list of all
item tags (852), we now do insert_grouped_field only on the first item
tag and then use MARC::Record->insert_fields_after for the remainder
of the list. According to some testing this can provide a 78% speed
increase when adding item tags to records with many items.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoLP#2009891: add item author to open-ils.actor.carousel.get_contents
Jeff Davis [Thu, 9 Mar 2023 20:46:54 +0000 (12:46 -0800)]
LP#2009891: add item author to open-ils.actor.carousel.get_contents

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 months agoRevert "LP#2009891: add item author to open-ils.actor.carousel.get_contents"
Jane Sandberg [Sat, 11 Nov 2023 16:34:43 +0000 (08:34 -0800)]
Revert "LP#2009891: add item author to open-ils.actor.carousel.get_contents"

This reverts commit 79080a199753a2240767d5ff8036af2fa18445a4.

I committed this by mistake, this was an early, not-quite-working version
of the commit that I meant to commit.

This solves the live_t/37-carousels.t failure.

Signed-off-by: Jane Sandberg <js7389@princeton.edu>