]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
4 weeks agoLP#1783408 "Disable Highlighting" Box Should be sticky user/smayo/lp1970946-Staff_Catalog_Disable_Highlight_Setting
Steven Mayo [Fri, 5 Apr 2024 16:13:48 +0000 (12:13 -0400)]
LP#1783408 "Disable Highlighting" Box Should be sticky
LP#1910440 Option to turn off Search Highlighting by default

Added new checkbox in OPAC -> My Account -> Preferences -> Search and History that alters the user setting ui.show_search_highlight introduced in previous commit.
Whether the opac shows highlighting is now based off the first defined value from:
URL parameter show_highlight, user setting ui.show_search_highlight, global config flag search.default_highlight, true.
Added a new block "set_show_highlight" for misc_util.tt2 to keep this logic consistent and concise across the multiple places that need to know this.

search.no_highlight renamed to search.default_highlight because negative variables are confusing.
search.default_highlight no longer hides the checkbox in the search results and button in the bib summary when 0 - couldn't imagine why removing an option is a good thing.
search.default_highlight being 0 DOES turn off highlighting - assuming the user has no user setting set and hasn't touched the button yet.

The checkbox in OPAC search results has been renamed from 'Disable Highlighting' to 'Enable Highlighting'. (because negative variables are confusing)
Whether the checkbox is checked has been changed to accurately reflect this.
This checkbox does NOT save its state to the new user setting. Other team members thought saving something permanent would be confusingly different than the other search results checkboxes.
Open to changing this if desired after testing - the search preferences might be too out of the way.
The checkbox alters the url parameters, so that box's changes are as permanent as before - and still work when not logged in.

Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
4 weeks agoLP#1970946 Staff Catalog Option to Disable Highlighting
Steven Mayo [Wed, 27 Mar 2024 21:29:26 +0000 (17:29 -0400)]
LP#1970946 Staff Catalog Option to Disable Highlighting

Added a checkbox in staff/catalog/prefs.component for whether to use highlighting.
Added user setting 'ui.show_search_highlight' for the checkbox to alter.
Added a check in CatalogService so that fetchFieldHighlights finds nothing and no fields get highlighted when the user setting is false
CatalogService check and the checkbox behave as if the setting is true when it is null (for now)

Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
8 weeks agoLP2051599 Fix Cash Reports User Payments Date Parsing
Bill Erickson [Mon, 11 Mar 2024 16:43:27 +0000 (12:43 -0400)]
LP2051599 Fix Cash Reports User Payments Date Parsing

Apply the same date parsing fix for User Payments in the Cash Reports
interface as the previous commit, which addressed Desk Payments.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
8 weeks agoLP#2051599: fix parsing of start and end dates by Cash Reports
Galen Charlton [Tue, 30 Jan 2024 15:19:22 +0000 (10:19 -0500)]
LP#2051599: fix parsing of start and end dates by Cash Reports

This patch fixes a bug where if you open the Cash Reports at a
time of day where the date in the local time zone is different
from the date in UTC and do not interact with the date selectors,
the report will not display payments made during the current day.

The problem was due to the use of Date.toISOString() when
attempting to extract just the date component; since Date.toISOString()
forces the timestamp to UTC. The effect is that if you (say) open
the Cash Reports page in North America sufficiently late in the date,
the date selectors will display your current date, but the query
to fetch payment information will (silently) supply the following day.

To test
-------
[1] Make some patron bill payments.
[2] Open the Cash Reports at a time of day when an UTC clock would
    report a different date from your local date. Observe that no
    payments are listed or that payments from the previous day are
    listed.
[3] Apply the patch and repeat step 2. This time, opening the Cash
    Reports page should show the payments for the current day.

Release-note: Fix bug that could cause the Cash Reports page to display payments for the wrong day.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
8 weeks agoLP2056069 Fix button styles in grid actions menu modal
Stephanie Leary [Mon, 4 Mar 2024 20:23:12 +0000 (20:23 +0000)]
LP2056069 Fix button styles in grid actions menu modal

Wraps the Menu Item and Visible toggles in <div> tags to fix an error
that made them appear as unstyled buttons.

Release-notes: Fixes the styling of the Angular grid's Manage Actions Menu modal

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
8 weeks agoLP2056069 Fix button styles in grid column config modal
Stephanie Leary [Mon, 4 Mar 2024 19:03:39 +0000 (19:03 +0000)]
LP2056069 Fix button styles in grid column config modal

Wraps the Name and Visibility toggles in <div> tags to fix an error that
made them appear as unstyled buttons.

Release-notes: Fixes the styling of the Angular grid's Manage Columns modal

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
8 weeks agoLP2046974 Hide "more" if facet has 5 or fewer links
Stephanie Leary [Tue, 5 Mar 2024 16:54:45 +0000 (16:54 +0000)]
LP2046974 Hide "more" if facet has 5 or fewer links

In the staff catalog search results, the "more"/"less" links are now
hidden for facets with 5 or fewer links available.

Release-note: Show the More/Less toggle on facet display in the staff catalog only when a facet has more than five entries.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
8 weeks agoLP#1779743: add privilege expiration date to Group Member Details
Galen Charlton [Tue, 23 Jan 2024 16:57:53 +0000 (11:57 -0500)]
LP#1779743: add privilege expiration date to Group Member Details

This patch adds the privilege expiration date to the list
of available columns in the AngularJS group member details
page. No equivalent change is needed to the experimental Angular
circ interface, as that column is already available there.

To test
-------
[1] Apply the patch.
[2] Navigate to a patron in the Evergreen staff interface
    and view the Group Member Details page.
[3] Verify that the privilege expiration date is now available
    in the column selector.

Release-note: Add privilege expiration date column to Group Member Details table

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
8 weeks agoLP2056480: docs: only index the latest version of the docs for lunr
Jane Sandberg [Mon, 11 Mar 2024 03:20:42 +0000 (20:20 -0700)]
LP2056480: docs: only index the latest version of the docs for lunr

This addresses a regression caused by bug 2056480.

To test:
* Build the docs using
  cd docs
  perl generate_docs.pl --base-url=http://example.com
* Open docs/output/index.html in your browser
* Type a search into the search box
* Note that you only get results for latest, rather than getting duplicate
results from multiple versions.
* Note that the file docs/output/search-index.js is now 3.3 MB, rather than
5.53 MB.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
8 weeks agoLP2047589 OPAC - My Lists - Change wording of submit button
Terran McCanna [Wed, 27 Dec 2023 21:38:59 +0000 (16:38 -0500)]
LP2047589 OPAC - My Lists - Change wording of submit button

Changes wording from "Create List" to "Save New List" to differentiate
it from the other "Create New List" button on the page.

Release-note: Clarify button text in public catalog New List interface.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
8 weeks agoLP #1980138: relabel Account Information and Preferences in the OPAC
Gina Monti [Thu, 7 Dec 2023 14:15:35 +0000 (09:15 -0500)]
LP #1980138: relabel Account Information and Preferences in the OPAC

Release-note: Changes "Account Information and Preferences" in areas of the OPAC to "Personal Information and Preferences"

Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Josh Stompro <stomproj@larl.org>
2 months agoLP#2036328: (follow-up) clean up a couple things
Galen Charlton [Wed, 21 Feb 2024 14:50:09 +0000 (09:50 -0500)]
LP#2036328: (follow-up) clean up a couple things

* Update generate_docs.pl help text to note the new
  default version
* Clean up more aggressively before installing Antora; I
  discovered that if you switch from 2.3 to 3.1.7 without
  doing so, the older version of the CLI still gets used
  (and fails because 2.3 predates Antora's extension mechanism)

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP#2036328: update Antora to 3.1
Jane Sandberg [Thu, 1 Feb 2024 20:02:28 +0000 (12:02 -0800)]
LP#2036328: update Antora to 3.1

This patch updates the version of Antora used to build the documentation
to a supported release.

* Uses the new @antora/lunr-extension, rather than the antora 2 antora-lunr
* Fixes a few issues that are no longer supported in the new version of
  asciidoctor
* Installs antora via the antora npm package, rather than installing
  @antora/cli and @antora/site-generator separately

Release-note: Update the version of Antora used to build the documentation

Co-authored-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Co-authored-by: Robin Fitch <rfitch@biblio.org>
Co-authored-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
Co-authored-by: Debbie Luchenbill <debbie@mobiusconsortium.org>
Co-authored-by: Lena Hernandez <lena.hernandez@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP2051566 Make Angular Grid Column Headers Bold Again
Terran McCanna [Mon, 29 Jan 2024 16:48:04 +0000 (11:48 -0500)]
LP2051566 Make Angular Grid Column Headers Bold Again

A recent update changed the Angular grid column headers from
A links to buttons, which broke the CSS chain and they lost
their bold weight. This restores that.

Release-note: Restores bold weight to eg-grid column headers

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 months agoLP#2051250: restore bold styling in PO summary when PO is paid off
Galen Charlton [Mon, 29 Jan 2024 15:30:58 +0000 (10:30 -0500)]
LP#2051250: restore bold styling in PO summary when PO is paid off

This patch fixes a regression on bug 1999270 introduced by a patch
for bug 2000482.

To test
-------
[1] Create a purchase order whose full amount is paid off.
[2] View the order and note that the '$X Paid' text is red but not bold.
[3] Apply the patch and review the order again. This time, the text
    in the PO summary should also be bold.

Release-note: Restore bold styling of paid off amount in purchase order summary.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 months agoLP1991103: (follow-up) note that record note permissions must be assigned globally
Galen Charlton [Tue, 5 Mar 2024 14:57:22 +0000 (09:57 -0500)]
LP1991103: (follow-up) note that record note permissions must be assigned globally

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP1991103: incorporate feedback from review, address failing test
Jane Sandberg [Wed, 28 Feb 2024 14:25:27 +0000 (06:25 -0800)]
LP1991103: incorporate feedback from review, address failing test

* Remove icon from tab
* Don't use warning styling
* Add spacing between the tab title and its number
* Make the test amenable to any number of spaces between the tab
  title and number; it doesn't really matter how many there are,
  but there needs to be at least one.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP1991103: Display a count of record notes in the staff catalog tab
Jane Sandberg [Sun, 18 Feb 2024 22:59:37 +0000 (14:59 -0800)]
LP1991103: Display a count of record notes in the staff catalog tab

To test:

1. Apply this patch.
2. Open a record in the staff catalog.
3. Add some record notes.  Note that the tab updates with the number of
   record notes on the record.
4. Delete some record notes. Note that the tab still updates
   accordingly.
5. Leave and come back to the record.  Note that the number still
   persists in that tab.

Release-Note: Show the total number of record notes in the Record Note tab in the staff catalog.

Sponsored-by: PaILS
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Elizabeth Davis <elizabeth.davis@sparkpa.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP#2021862: (follow-up) improve visibility of inline help text
Galen Charlton [Thu, 29 Feb 2024 14:26:45 +0000 (09:26 -0500)]
LP#2021862: (follow-up) improve visibility of inline help text

The font-weight and color are from a suggestion from Stephanie Leary
(and also fix a color contrast issue on the darker zebra-striped
rows); the italics are from me.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
2 months agoLP2021862 Remove placeholders from fm-editor
Stephanie Leary [Thu, 1 Jun 2023 15:56:05 +0000 (15:56 +0000)]
LP2021862 Remove placeholders from fm-editor

Removes placeholder attributes from the input fields in the fieldmapper
editor, to make it clearer to users which fields have not been filled
out.

Help text is moved from a tooltip to a persistent .form-text area, which
is placed first in the source order for screen reader users' benefit but
appears below the input visually.

Also attaches the Translate button to its input field and prevents it
from wrapping to the next line.

Release-note: Removes placeholder attributes from inputs in the Angular record editor and display field help directly rather than in a tooltip. Also moves the translate button next to text inputs for translatable fields.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
2 months agoupdate .mailmap entries for Galen Charlton
Galen Charlton [Wed, 28 Feb 2024 17:03:07 +0000 (12:03 -0500)]
update .mailmap entries for Galen Charlton

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP#1828463: (follow-up) tweak focus outlines for buttons that are dropdown items
Galen Charlton [Wed, 28 Feb 2024 12:35:53 +0000 (07:35 -0500)]
LP#1828463: (follow-up) tweak focus outlines for buttons that are dropdown items

This patch makes the focus outline for buttons that are dropdown items
(e.g., Retrieve Last Bib Record in the Cataloging menu) match the
new style. This avoids the opacity of the focus outline from changing
when navigating between items in the nav menus that can contain
a mixture of anchors and buttons.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP1828463 More obvious and stylish focus outlines
Stephanie Leary [Wed, 20 Dec 2023 23:59:38 +0000 (23:59 +0000)]
LP1828463 More obvious and stylish focus outlines

Bumps the opacity of focus outlines from 25% to 75% and adds a more
stylish outline color to the staff navigation menu.

Release-note: Increase the visibility of focus outlines in the Angular staff client

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP2012971 Item Alerts Not Editable
Jason Etheridge [Tue, 9 Jan 2024 14:50:29 +0000 (09:50 -0500)]
LP2012971 Item Alerts Not Editable

Release-notes: Fixes invocation of (Manage) Item Alerts dialog in Holdings Editor
Release-notes: Adds batch edit for Item Alerts in Holdings Editor. Alerts get grouped together for editing if they are mostly identical
Release-notes: Adds Manage Alerts button to Item Alerts dialog during alert display in Angular ("eg2") interfaces.
Release-notes: Fixes TypeError: defaults is null exception for missing Default Item Alert Type preference
Release-notes: Adds a Changes Pending indicator for Holdings Editor

Note that we do not address LP2044028 where multiple invocations of the
Item Alerts dialog in the Holdings Editor do not show pending changes
prior to a Save.

Example testing:

    In staff client with Concerto dataset,
    Cataloging -> Retrieve Bib Record By ID -> 1
    Holdings View -> Show Copies
    Select lines 5 and 6 (for CONC40000536 and CONC41000536)
    -> Edit: Edit Items
    -> Add Item Alerts: Item Alerts
    Should see a dialog for "Managing alerts in common for 2 item(s)."
    Normal Checkout, Test Note 123 -> Add New, Apply Changes
    Should see a CHanges Pending label before Apply All & Save
    Apply All, Save & Exit

    Back in Holdings View,
    Select lines 5 and 8 (for CONC40000536 and CONC4000036)
    -> Edit: Edit Items
    -> Add Item Alerts: Item Alerts
    Should see a dialog for "Managing alerts in common for 2 item(s)."
    Should not see the "Test Note 123" alert.
    Close tab

    Back in Holdings View,
    Select lines 5 and 6 again
    -> Edit: Edit Items
    -> Add Item Alerts: Item Alerts
    Should see a dialog for "Managing alerts in common for 2 item(s)."
    Should also see the "Test Note 123" alert.
    Close tab

    Circulation -> Check Out
    99999372363 -> Submit
    In the URL, change /eg/ to /eg2/ for the experimental Angular circ interface
    CONC40000536 -> Submit
    Should see the Item Alerts dialog with the Test Note 123 alert.
    Should also see a Manage Alerts button in the dialog.
    Manage Alerts
    Should see a new dialog, "Managing alerts for item CONC40000536",
    which is the same Item Alerts dialog from the Holdings Editor.
    Changes in this dialog are not reflected in the original Item Alerts
    dialog from which it was spawned.

Signed-off-by: Jason Etheridge <jason@equinoxoli.org>
Signed-off-by: Carol Witt <wittc@cwmars.org>
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
2 months agoLP2049774 - Acq Admin Doc updates - Fiscal Close
Josh Stompro [Fri, 26 Jan 2024 21:14:54 +0000 (15:14 -0600)]
LP2049774 - Acq Admin Doc updates - Fiscal Close

A few adjustments to the Fiscal Close / fund rollover docs.
Along with a few typos found in the document.

Release-note: Improves documentation of Fiscal Propagation and Rollover

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP1909585: stamp upgrade script
Jane Sandberg [Tue, 27 Feb 2024 13:41:13 +0000 (05:41 -0800)]
LP1909585: stamp upgrade script

2 months agoLP1909585 Use full title on book list csv download
Terran McCanna [Tue, 24 Oct 2023 21:26:52 +0000 (17:26 -0400)]
LP1909585 Use full title on book list csv download

Adds subfield n and subfield p to CSV download for lists in the OPAC
in order to match the screen display.

To test:
1 - Create a List in the OPAC
2 - Add a record to the list that has subfields n and/or p (Concerto record id 224 has both)
3 - Download the CSV for the list to confirm that the full title appears

Release-note: Adds 245$n and 245$p to the title field in public catalog list CSV download, to better distinguish between multiple titles in the same series.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP2054349 3.11.1-3.12.0 upgrade script 1395 portion
blake [Mon, 19 Feb 2024 22:21:49 +0000 (16:21 -0600)]
LP2054349 3.11.1-3.12.0 upgrade script 1395 portion

The 1395 portion needed to address the
config.org_unit_setting_type_log table as well.

If an installation has history for any of those settings,
PG will throw a foriegn key error upon commit;

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoDocs: correction to 3.11.4 release notes
Andrea Buntz Neiman [Mon, 26 Feb 2024 18:18:29 +0000 (13:18 -0500)]
Docs: correction to 3.11.4 release notes

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 months agoDocs: correction to 3.12.2 release notes
Signed-off-by: Andrea Buntz Neiman [Mon, 26 Feb 2024 17:57:02 +0000 (12:57 -0500)]
Docs: correction to 3.12.2 release notes

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 months agoForward-port 3.11.4 upgrade script
Jane Sandberg [Mon, 26 Feb 2024 17:53:40 +0000 (11:53 -0600)]
Forward-port 3.11.4 upgrade script

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoForward-port 3.12.2 upgrade script
Jane Sandberg [Fri, 23 Feb 2024 23:32:03 +0000 (17:32 -0600)]
Forward-port 3.12.2 upgrade script

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoDocs: don't include XUL client instructions in server upgrade docs
Jane Sandberg [Fri, 23 Feb 2024 23:03:56 +0000 (15:03 -0800)]
Docs: don't include XUL client instructions in server upgrade docs

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoTranslation updates - newpot
Jane Sandberg [Fri, 23 Feb 2024 18:06:48 +0000 (12:06 -0600)]
Translation updates - newpot

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoDocs: follow up commit on Release Notes for 3.12.2
Andrea Buntz Neiman [Fri, 23 Feb 2024 16:41:56 +0000 (11:41 -0500)]
Docs: follow up commit on Release Notes for 3.12.2

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 months agoDocs: Release Notes for 3.12.2
Andrea Buntz Neiman [Fri, 23 Feb 2024 16:40:28 +0000 (11:40 -0500)]
Docs: Release Notes for 3.12.2

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 months agoDocs: Release Notes for 3.11.4
Andrea Buntz Neiman [Fri, 23 Feb 2024 16:25:17 +0000 (11:25 -0500)]
Docs: Release Notes for 3.11.4

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 months agoDocs: removing dead link from acq nav
Andrea Buntz Neiman [Wed, 21 Feb 2024 14:43:20 +0000 (09:43 -0500)]
Docs: removing dead link from acq nav

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 months agoDocs: LP2053047 autosuggest update
Gina Monti [Tue, 13 Feb 2024 16:42:30 +0000 (11:42 -0500)]
Docs: LP2053047 autosuggest update

Updating page with some info.

Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 months agoLP1582720: follow-up: ng lint --fix
Jane Sandberg [Mon, 19 Feb 2024 22:38:18 +0000 (14:38 -0800)]
LP1582720: follow-up: ng lint --fix

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP1582720: Clarify Staff Client Uniquification
Jason Boyer [Thu, 25 Jan 2024 19:20:57 +0000 (14:20 -0500)]
LP1582720: Clarify Staff Client Uniquification

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP1582720: Ignore Duplicate Scoped URIs - Staff
Jason Boyer [Wed, 17 Jan 2024 15:52:23 +0000 (10:52 -0500)]
LP1582720: Ignore Duplicate Scoped URIs - Staff

When displaying scoped URI call numbers (subfield 9's), ignore duplicate
URIs that can be caused by multiple subfield 9's on the same link.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP1582720: Ignore Duplicate Scoped URIs - TPAC
Jason Boyer [Wed, 17 Jan 2024 13:55:55 +0000 (08:55 -0500)]
LP1582720: Ignore Duplicate Scoped URIs - TPAC

When displaying scoped URI call numbers (subfield 9's), ignore duplicate
URIs that can be caused by multiple subfield 9's on the same link.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP1582720: Ignore Duplicate Scoped URIs - BPAC
Jason Boyer [Tue, 16 Jan 2024 21:05:50 +0000 (16:05 -0500)]
LP1582720: Ignore Duplicate Scoped URIs - BPAC

When displaying scoped URI call numbers (subfield 9's), ignore duplicate
URIs that can be caused by multiple subfield 9's on the same link.

Release-note: (OPAC) Ignore duplicate links from 856 fields with multiple $9's
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP2052960 Remove button markup from record actions
Stephanie Leary [Mon, 12 Feb 2024 19:03:32 +0000 (19:03 +0000)]
LP2052960 Remove button markup from record actions

Removes errant <button> elements that were nested inside the Patron View
and Place Hold links (in the bib record actions row of buttons below the
summary box). Buttons inside links are unnecessary and created an extra
tab stop when navigating the page via keyboard. Classes have been moved
to the <a> element to retain styling.

Release-note: Remove extra tab stops when navigating bib record actions in staff client using keyboard

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP#2054128: OPAC autosuggest now gets closed when input loses focus
Galen Charlton [Sat, 17 Feb 2024 16:13:11 +0000 (11:13 -0500)]
LP#2054128: OPAC autosuggest now gets closed when input loses focus

This patch ensure that the autosuggest list goes away when
the basic search box in the OPAC loses focus. Otherwise, it
can obscure controls that the user is trying to interact with.

To test
-------
[1] Enter a search term in the OPAC and observe that the
    dropdown of suggestions appears.
[2] Tab or click away from the input. Note that the dropdown
    remains open.
[3] Apply the patch and repeat steps 2 and 3. This time, the
    dropdown should get closed.

Release-note: Close autosuggest dropdown in the public catalog when it loses focus.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 months agoLP#2053035: return ability to submit OPAC basic search via enter
Galen Charlton [Tue, 13 Feb 2024 16:52:50 +0000 (11:52 -0500)]
LP#2053035: return ability to submit OPAC basic search via enter

This patch fixes an issue with the current autosuggest implementation
that prevented submitting the form while focus is on the main
text input.

To test
-------
[1] Apply patch. Do the following tests using both keyboard
    and mouse navigation.
[2] Verify that submitting a search without selecting any
    of the suggested terms works.
[3] Verify that submitting a search after selecting one
    of the suggestions works.
[4] Verify that submitting the search after using the keyboard
    to navigate the selections, but ultimately not choosing
    any of them, works.
[5] Run automated tests, e.g., by running

    npx jasmine Open-ILS/web/opac/tests/autosuggest.spec.module.js

Release-note: Restore ability to submit basic OPAC search by hitting enter in search input.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: blake <blake@mobiusconsortium.org>
2 months agoLP#1901932: Do not add unused org settings to enhanced dataset.
Chris Sharp [Sun, 12 Nov 2023 17:19:24 +0000 (12:19 -0500)]
LP#1901932: Do not add unused org settings to enhanced dataset.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
2 months agoLP#1901932 Enhancing the enhanced concerto dataset
blake [Wed, 17 May 2023 15:48:11 +0000 (10:48 -0500)]
LP#1901932 Enhancing the enhanced concerto dataset

- A date carry forward feature that carry's the various date columns
forward based upon the difference between today's date and the create_date
for asset.call_number in the dataset. Which is the default. This can be
skipped with with: psql -v skip_date_carry='1' -f load_all.sql

- Expansion of special cases for certain tables:
config.metabib_class, config.org_unit_setting_type, config.global_flag.

- Dropping these tables from consideration:
acq.acq_lineitem_history, acq.acq_purchase_order_history, permission.perm_list

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Adding seq

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
2 months agoLP#1939162 Followup: 2 Cookie 4 Auth
Jason Boyer [Wed, 31 Jan 2024 18:23:03 +0000 (13:23 -0500)]
LP#1939162 Followup: 2 Cookie 4 Auth

AccessHandler.pm did not look for the newer eg.auth.token session cookie
so it was not possible to clear the added content cache unless the old ses
cookie was somehow set first. Now AccessHandler.pm will look for both cookie
names.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP#1939162: add option to clear added content cache to Angular staff catalog
Galen Charlton [Wed, 31 Jan 2024 16:04:11 +0000 (11:04 -0500)]
LP#1939162: add option to clear added content cache to Angular staff catalog

This patch restores the ability to clear the added content cache
to the staff catalog by adding a "Clear Added Content Cache" item
to the Other Actions menu on the Angular staff catalog record page.

As with the former embedded staff catalog, clearing the added content
cache does not result in the staff catalog attempting to automaticaly
reload the cover image; the user will still need to reload the page
to see if the change has taken effect. Improving that behavior would
be for a separate bug.

This patch also includes a fix to tag an unrelated string for
localization.

To test
-------
[1] Ensure that at an added content handler is active.
[2] Install the patch.
[3] Navigate to a bib record in the Angular staff catalog.
[4] Observe that there is a Clear Added Content Cache item
    in the Other Actions menu.
[5] Click it and note that a toast stating that the cache was
    cleared is displayed.
[6] (extra credit) Test while making changes to the record (say
    to the ISBN) that would result in a different cover image
    being provided by the added content source.
[7] (extra credit) Update opensrf.xml to remove the added content
    handler, restart services and Apache, then try the cache-clearing
    action. This time, toast should be displayed stating that the
    action failed.

Release-note: Adds a "Clear Added Content Cache" item to the Other Actions menu in the staff catalog record page.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP#2040637: (follow-up) adjust formatting of some comments
Galen Charlton [Mon, 19 Feb 2024 14:19:12 +0000 (09:19 -0500)]
LP#2040637: (follow-up) adjust formatting of some comments

Side-step the current lint rules not accepting comments indented like
this:

    do_something(); // comment on the thing...
                    // and continue the comment like this

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP#2040637: (follow-up) fix ng lint whitespace issues
Galen Charlton [Mon, 19 Feb 2024 14:06:57 +0000 (09:06 -0500)]
LP#2040637: (follow-up) fix ng lint whitespace issues

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP2040637 Reverse fund dropdown regression
Tiffany Little [Wed, 13 Dec 2023 21:30:21 +0000 (16:30 -0500)]
LP2040637 Reverse fund dropdown regression

Returns Dojo behavior of compiling fund view based on perms rather than work OU.

Release-note: The fund dropdowns for line items and direct charges on purchase orders now display funds that user has permission to use.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Elizabeth Davis <elizabeth.davis@sparkpa.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP#2053245: fix Angular staff client test failure
Galen Charlton [Thu, 15 Feb 2024 15:09:08 +0000 (10:09 -0500)]
LP#2053245: fix Angular staff client test failure

The patch for bug 2045581 ensured that eg-org-family-select's ariaLabel
attribute would propagate to the enclosed eg-org-select, but did not
update a mock in eg-org-family-select's tests. This patch fixes that.

Release-note: [Developer] Fixes test failure in Angular staff client

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP#1890822: (follow-up) update comments and documentation
Galen Charlton [Wed, 14 Feb 2024 14:28:03 +0000 (09:28 -0500)]
LP#1890822: (follow-up) update comments and documentation

This patch adds a comment to clarify that the database transaction
isolation level must be "read committed" (as is the default for Pg)
in order for penalties created in one transaction to be seen by another
one. It also extends the documentation to cover behavior for SIP2
checkouts and renewals.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP1890822: move penalty check back to run_indb_circ_test
Jane Sandberg [Wed, 14 Feb 2024 00:05:12 +0000 (16:05 -0800)]
LP1890822: move penalty check back to run_indb_circ_test

This ensures that it is still called for SIP2 checkouts
and renewals.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP1890822: incorporate feedback from review
Jane Sandberg [Tue, 13 Feb 2024 21:44:37 +0000 (13:44 -0800)]
LP1890822: incorporate feedback from review

* Put the penalty calculation in its own transaction, so
  applicable penalties remain on the patron account, even
  if the circulation is canceled.
* Don't hard-code a list of threshold-based penalties in
  the penalty calculation call.  calculate_penalties only
  concerns itself with threshold-based penalties anyway,
  so there was no need to enumerate them (and I missed
  two anyway).
* Update a comment to better match the new state of affairs.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP1890822: Don't checkout in cases where a patron is eligible for a penalty, but...
Jane Sandberg [Tue, 2 Jan 2024 03:33:58 +0000 (19:33 -0800)]
LP1890822: Don't checkout in cases where a patron is eligible for a penalty, but hasn't received it yet

To test:
1. In Local Admin > Group Penalty Threshold, set the
   PATRON_EXCEEDS_OVERDUE_COUNT threshold to 1.
2. Find a patron who has more than 1 overdue.
3. Try to check another item out to the patron.
4. Confirm that you get an alert PATRON_EXCEEDS_OVERDUE_COUNT
   and the item does not check out.

Note that this adds a penalty check to the checkout logic, rather than
to the patron retrieval logic as suggested in
https://bugs.launchpad.net/evergreen/+bug/1983621, since this will also
address SIP checkouts.

Also adds characterization tests for relevant stored procedures.

Release-note: Fix bug that allowed one checkout after a patron had reached a group penalty threshold, for example PATRON_EXCEEDS_OVERDUE_COUNT or PATRON_EXCEEDS_CHECKOUT_COUNT.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Sponsored-by: PaILS
Signed-off-by: Elizabeth Davis <elizabeth.davis@sparkpa.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP 2017941: Followup to fix buster builds
Jason Boyer [Wed, 14 Feb 2024 13:52:17 +0000 (08:52 -0500)]
LP 2017941: Followup to fix buster builds

Debian buster is still supported, so it should still build correctly,
even when not using OpenSRF+Redis.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
2 months agoLP#2043508 follow-up: ng lint --fix
Jane Sandberg [Tue, 13 Feb 2024 23:29:15 +0000 (15:29 -0800)]
LP#2043508 follow-up: ng lint --fix

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
2 months agoLP#2043508 fix misconfigured delete dialogs and add dialogs where they were missing.
Llewellyn Marshall [Fri, 9 Feb 2024 21:36:10 +0000 (16:36 -0500)]
LP#2043508 fix misconfigured delete dialogs and add dialogs where they were missing.

Signed-off-by: Llewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
2 months agoLP#2019207: stamp DB update
Galen Charlton [Mon, 12 Feb 2024 17:18:01 +0000 (12:18 -0500)]
LP#2019207: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP#2019207: (follow-up) fix lint
Galen Charlton [Mon, 12 Feb 2024 17:09:17 +0000 (12:09 -0500)]
LP#2019207: (follow-up) fix lint

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoLP#2019207 Patron View Discovery Layer URL
Dan Briem [Sat, 21 Oct 2023 19:16:26 +0000 (19:16 +0000)]
LP#2019207 Patron View Discovery Layer URL

A new org unit setting configures the discovery layer URL opened
by the Patron View button on a staff catalog record.

The placeholder to include for the record ID is {eg_record_id}.

Example format: https://example.com/Record/{eg_record_id}

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 months agoForward port 3.11.2 to 3.11.3 db upgrade script
Jason Stephenson [Sat, 10 Feb 2024 16:09:53 +0000 (11:09 -0500)]
Forward port 3.11.2 to 3.11.3 db upgrade script

This was missed when the tags branch was cut.

Signed-off-by: Jason Stephenson <jason@sigio.com>
2 months agoDocs: corrections to acquisitions_search.adoc
Andrea Buntz Neiman [Fri, 9 Feb 2024 17:37:52 +0000 (12:37 -0500)]
Docs: corrections to acquisitions_search.adoc

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 months agoLP#2051557: ignore deleted monograph parts when checking title holds
Galen Charlton [Mon, 29 Jan 2024 15:49:24 +0000 (10:49 -0500)]
LP#2051557: ignore deleted monograph parts when checking title holds

This patch ensures that when "Require Monographic Part when Present"
is in effect, that deleted monograph parts are not taken into
account when checking whether a title-level hold is possible.

To test
-------
[1] Set up a bibliographic record that has at least one monograph
    part, then delete that part.
[2] Turn on the "Require Monographic Part when Present" library setting.
[3] Attempt to place a title-level hold on the record. Note that the
    following error is returned: "Require Monographic Part when Present"
[4] Apply the patch and repeat step 3. This time, the hold should
    go through.

Release-note: Ignore deleted monograp parts when checking title holds while "Require Monographic Part when Present" is on.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur Davis <rfrasur@library.in.gov>
Signed-off-by: Jason Etheridge <phasefx@gmail.com>
2 months agoRevert "Docs: build error corrections"
Andrea Buntz Neiman [Mon, 5 Feb 2024 22:02:05 +0000 (17:02 -0500)]
Revert "Docs: build error corrections"

This reverts commit 5f64b77dd6f9b67f2ac242cd115be0a8a01e1128.

Operator error - misunderstanding of error output.

2 months agoDocs: Course materials navigation corrections
Andrea Buntz Neiman [Mon, 5 Feb 2024 21:39:27 +0000 (16:39 -0500)]
Docs: Course materials navigation corrections

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 months agoDocs: build error corrections
Andrea Buntz Neiman [Mon, 5 Feb 2024 21:32:04 +0000 (16:32 -0500)]
Docs: build error corrections

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 months agoDocs: link checker xref correction
Andrea Buntz Neiman [Mon, 5 Feb 2024 21:16:28 +0000 (16:16 -0500)]
Docs: link checker xref correction

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
3 months agoLP2051140: Stamping DB Upgrade
blake [Mon, 5 Feb 2024 19:54:25 +0000 (13:54 -0600)]
LP2051140: Stamping DB Upgrade

Signed-off-by: blake <blake@mobiusconsortium.org>
3 months agoLP2051140: Adding missing bib bucket IDL permissions
Llewellyn Marshall [Wed, 24 Jan 2024 16:30:31 +0000 (11:30 -0500)]
LP2051140: Adding missing bib bucket IDL permissions

Release-Note: Adds missing bib bucket IDL permissions, fixes carousel admin interface

Signed-off-by: Llewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: blake <blake@mobiusconsortium.org>
3 months agoDocs: corrections to 3.11 and 3.12 release notes
Andrea Buntz Neiman [Mon, 5 Feb 2024 19:40:03 +0000 (14:40 -0500)]
Docs: corrections to 3.11 and 3.12 release notes

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
3 months agoFix syntax in 3.11 release notes
Jason Stephenson [Fri, 2 Feb 2024 21:13:32 +0000 (21:13 +0000)]
Fix syntax in 3.11 release notes

Signed-off-by: Jason Stephenson <jason@sigio.com>
3 months agoForward-port 3.12.1 upgrade script
Jane Sandberg [Fri, 2 Feb 2024 19:18:13 +0000 (13:18 -0600)]
Forward-port 3.12.1 upgrade script

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 months agoDocs: draft release notes for 3.12.1 and 3.11.3
Andrea Buntz Neiman [Fri, 2 Feb 2024 16:58:00 +0000 (11:58 -0500)]
Docs: draft release notes for 3.12.1 and 3.11.3

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
3 months agoLP#2051370 (follow-up) run make_release steps in the correct directory
Jane Sandberg [Fri, 2 Feb 2024 00:48:37 +0000 (16:48 -0800)]
LP#2051370 (follow-up) run make_release steps in the correct directory

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 months agoLP#2051370: have make_release build browser client by default
Galen Charlton [Fri, 26 Jan 2024 14:34:15 +0000 (09:34 -0500)]
LP#2051370: have make_release build browser client by default

This patch replace the -c switch (to build the browser client) with
a -C switch to _skip_ building the browser client. Release tarballs
should always have the browser client, so the main reason to use -C
is just to create the initial DB update script.

To test
-------
[1] Apply patch. Verify that make_release now advertises a -C
    switch.
[2] Run make_release without -C; it should build the browser client.
[3] Run make_release with -C; the browser client build should be skipped.

Release-note: [Developer] make_release now builds the browser client by default.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 months agoLP#2051370: remove make_release option to build XUL client
Galen Charlton [Fri, 26 Jan 2024 14:24:49 +0000 (09:24 -0500)]
LP#2051370: remove make_release option to build XUL client

This patch removes the -x option in make_release to build
the XUL client, which has ceased to be, is an ex-client. It
doesn't remove the dependencies and subordinate Makefile
that would permit manually building the XUL client; that will
happen later.

Release-note: [Developer] Remove make_release -x option to build XUL client

To test
-------
[1] Install the patch and verify that make_release does not
    advertise an option to build the XUL client.
[2] Run a build and verify that it works.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 months agoDocs: LP2048132 follow up for image syntax
Susan Morrison [Thu, 1 Feb 2024 15:10:10 +0000 (10:10 -0500)]
Docs: LP2048132 follow up for image syntax

Updated image syntax for all but one image to pull from correct image folder.

Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
3 months agoDocs: Update statistical categories documenation to reflect Angular upgrades
Susan Morrison [Fri, 5 Jan 2024 18:40:54 +0000 (13:40 -0500)]
Docs: Update statistical categories documenation to reflect Angular upgrades

LP2048132: https://bugs.launchpad.net/evergreen/+bug/2048132

Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
3 months agoDocs: Update emergency_closing_handler.adoc
Susan Morrison [Fri, 5 Jan 2024 16:24:29 +0000 (11:24 -0500)]
Docs: Update emergency_closing_handler.adoc

For LP1871692: https://bugs.launchpad.net/evergreen/+bug/1871692

Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
3 months agoLP#2021903: remove "Locate Z39.50 Matches" buttons from OPAC
Chris Sharp [Fri, 26 Jan 2024 15:51:10 +0000 (10:51 -0500)]
LP#2021903: remove "Locate Z39.50 Matches" buttons from OPAC

Remove non-functional buttons that previously retrieved matches from
the Z39.50 XUL UI.  See https://bugs.launchpad.net/evergreen/+bug/1798847
for the request to recreate this feature in our current UI.

Release-note: Remove non-functional staff-only "Locate Z39.50 Matches" buttons from OPAC templates.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 months agoDocs: LP1426120 Best Hold Selection Sort Order updates
Gina Monti [Fri, 26 Jan 2024 18:52:44 +0000 (13:52 -0500)]
Docs: LP1426120 Best Hold Selection Sort Order updates

Changing some things around for flow.

Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Jessica Woolford <jwoolford@biblio.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
3 months agoLP#2036296: always show note field in Hours of Operation form
Galen Charlton [Wed, 3 Jan 2024 15:34:37 +0000 (10:34 -0500)]
LP#2036296: always show note field in Hours of Operation form

This patch removes the checkbox to show or hide the notes
fields in the hours of operation editor in favor of always
displaying them.

This patch also adjusts the label to indicate that the note
is optional and ensures that the label is properly bound to
each note input.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
3 months agoLP#1939154: allow clearing default pickup lib in AngularJS patron editor
Galen Charlton [Thu, 25 Jan 2024 15:36:24 +0000 (10:36 -0500)]
LP#1939154: allow clearing default pickup lib in AngularJS patron editor

This patch adds a "Clear Default Hold Pickup Location" button
to enable removing that user-setting. This works around an issue
with the AngularJS OU selector where it doesn't pass an event
to signify to calling code that the user has de-selected any OUs.

To test
-------
[1] Apply the patch.
[2] Use the AngularJS editor to add and clear the default
    pickup library for a patron.
[3] Verify that the changes are saved and displayed as
    expected.

Release-note: Enable clearing the default pickup location in the patron editor.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
3 months agoLP1998413: Add release note
Jason Stephenson [Tue, 30 Jan 2024 19:41:16 +0000 (14:41 -0500)]
LP1998413: Add release note

Signed-off-by: Jason Stephenson <jason@sigio.com>
3 months agoLP1998413 - Holdings Editor Batch Actions restore <None> prefix/suffix option
Michele Morgan [Fri, 29 Dec 2023 16:30:45 +0000 (16:30 +0000)]
LP1998413 - Holdings Editor Batch Actions restore <None> prefix/suffix option

Restores the <NONE> selection to prefix and suffix dropdowns in Angular holdings editor Batch Actions

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
3 months agoLP#2051708: Cache MR summary calculations
Mike Rylander [Tue, 30 Jan 2024 15:42:03 +0000 (10:42 -0500)]
LP#2051708: Cache MR summary calculations

As part of the angularization of the staff catalog, new logic was
added to the bib summary API that gathers record attributes for the
constituent records of a result's metarecord. For very large
metarecords (~100+ constituents) this can be very slow, and when a
search returns many bibs from the same metarecord, the underlying
data is retrieved separately for each bib.

This commit creates a temporary local cache to avoid repeating the
caclulation of MR summary data on the same result set page.

Release-note: Improve speed of searching for and displaying (in Staff View) titles that are members of large metarecord sets.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
3 months agoLP#2039229: handle staff view for bibs without metarecord mappings
Jeff Davis [Tue, 17 Oct 2023 21:25:10 +0000 (14:25 -0700)]
LP#2039229: handle staff view for bibs without metarecord mappings

Release-note: Fix crash when displaying Staff View for a deleted record that has no metarecord mappings.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
3 months agoLP2046575: stamp upgrade script
Jane Sandberg [Mon, 29 Jan 2024 19:30:23 +0000 (11:30 -0800)]
LP2046575: stamp upgrade script

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 months agoLP2046575 Angular Stat Cat Entries Grid Settings Do Not Save
Terran McCanna [Tue, 2 Jan 2024 20:01:15 +0000 (15:01 -0500)]
LP2046575 Angular Stat Cat Entries Grid Settings Do Not Save

Adds ability to save the column settings on the patron and item
stat cat entries. (The main stat cat save grid options were already
in place, but the entries grid options were not.)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Ruth Frasur Davis <rfrasur@library.in.gov>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
3 months agoLP#2048907: remove .angular from release tarballs
Galen Charlton [Wed, 10 Jan 2024 14:47:11 +0000 (09:47 -0500)]
LP#2048907: remove .angular from release tarballs

This patch removes the eg2 .angular directory, which
contains build artifacts incuding the Angular build
cache, in the course of building release tarballs.

Release-note: Reduce size of release tarball by not shipping the Angular build cache

To test
-------
[1] Apply the patch and use make_release to build a
    tarball.
[2] Verify that the tarball is smaller.
[3] Verify that the Angular staff interface still works
    in an Evergreen instance installed from the tarball .

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
3 months agoLP#2051038: (follow-up) quell lint warning
Galen Charlton [Thu, 25 Jan 2024 14:19:59 +0000 (09:19 -0500)]
LP#2051038: (follow-up) quell lint warning

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 months agoLP2051038 Printing Holds Grid prints hold status number instead of text
Terran McCanna [Tue, 23 Jan 2024 22:47:10 +0000 (17:47 -0500)]
LP2051038 Printing Holds Grid prints hold status number instead of text

The display text for the Hold Status column is locally derived for each
Hold Status number in the template, but the typescript file only sees
the number so that's what it prints/downloads.

This adds the same wording that is in the template to the CellTextGenerator
so that the download / print will match. (Note that LP2051037 suggests
moving the wording into a table so that this type of redundancy could be
resolved.)

Release-note: Holds grid can now print / download the Hold Status column.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 months agoLP#1889133: (follow-up) fix multiSortable
Galen Charlton [Wed, 24 Jan 2024 16:46:55 +0000 (11:46 -0500)]
LP#1889133: (follow-up) fix multiSortable

If the grid has multiSortable enabled but also has columns
that should not be sortable, those columns should get both
[sortable] and [multiSortable] set to "true" in the
<eg-grid-column> element.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 months agoLP1889133 Follow Up
Terran McCanna [Wed, 24 Jan 2024 15:59:18 +0000 (10:59 -0500)]
LP1889133 Follow Up

This partially reverts the previous LP1889133 commit which changed the
eg-grid-column name in order to make it sortable. By changing the name,
it would break prior locally saved grid settings. So, this keeps the
column label change, but reverts the name change and instead makes the
column non-sortable.

The Current Item and Requested Item columns on this grid also threw ugly
errors when trying to sort by them, so I also made them non-sortable.

Release-note: Make the Hold Status, Current Item, and Requested Item Columns non-sortable on Angular holds grids to avoid errors.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 months agoLP1839364 Move login page error message; add ARIA
Stephanie Leary [Wed, 6 Dec 2023 15:00:08 +0000 (15:00 +0000)]
LP1839364 Move login page error message; add ARIA

Moves the login form's error message to the top and connects it to the
required inputs using aria-describedby.

This change to the ARIA messages required the password visibility
message to be moved into the template file so that its ID could be
combined with the error message's. Since we are no longer using
aria-description, the exception to our lint rules has been removed.

Release-note: Improve the accessiblity of the Angular staff login page

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>