working/Evergreen.git
6 years agomore docs, query clensing
Bill Erickson [Mon, 9 Sep 2019 20:06:18 +0000 (16:06 -0400)]
more docs, query clensing

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agomove away from mapper to pure client
Bill Erickson [Mon, 9 Sep 2019 19:24:26 +0000 (15:24 -0400)]
move away from mapper to pure client

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoexact/prefix searches continued
Bill Erickson [Mon, 9 Sep 2019 19:01:43 +0000 (15:01 -0400)]
exact/prefix searches continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoelastic service continued
Bill Erickson [Mon, 9 Sep 2019 16:26:27 +0000 (12:26 -0400)]
elastic service continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoelastic-builder / marc search
Bill Erickson [Fri, 6 Sep 2019 22:10:45 +0000 (18:10 -0400)]
elastic-builder / marc search

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoelastic-builder in action
Bill Erickson [Fri, 6 Sep 2019 20:36:38 +0000 (16:36 -0400)]
elastic-builder in action

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoelastic bib field IDL class mod
Bill Erickson [Fri, 6 Sep 2019 18:43:49 +0000 (14:43 -0400)]
elastic bib field IDL class mod

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agomore catalog integration experiements / elastic-builder
Bill Erickson [Fri, 6 Sep 2019 14:37:38 +0000 (10:37 -0400)]
more catalog integration experiements / elastic-builder

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agotighter catalog integration WIP
Bill Erickson [Tue, 3 Sep 2019 21:29:42 +0000 (17:29 -0400)]
tighter catalog integration WIP

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agotighter catalog integration WIP
Bill Erickson [Tue, 3 Sep 2019 19:24:05 +0000 (15:24 -0400)]
tighter catalog integration WIP

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoinitial tighter catalog integration / cat side needs more data
Bill Erickson [Fri, 30 Aug 2019 16:26:04 +0000 (12:26 -0400)]
initial tighter catalog integration / cat side needs more data

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoadd label to bib_fields list
Bill Erickson [Fri, 6 Sep 2019 14:41:29 +0000 (10:41 -0400)]
add label to bib_fields list

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoadditional index tidying
Bill Erickson [Fri, 6 Sep 2019 14:35:40 +0000 (10:35 -0400)]
additional index tidying

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoadditional index tidying
Bill Erickson [Thu, 5 Sep 2019 19:59:18 +0000 (15:59 -0400)]
additional index tidying

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoinitial support multiple lang analyzers; multi_match queries
Bill Erickson [Thu, 5 Sep 2019 16:42:18 +0000 (12:42 -0400)]
initial support multiple lang analyzers; multi_match queries

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoUpdated example search in test script
Bill Erickson [Thu, 5 Sep 2019 15:52:47 +0000 (11:52 -0400)]
Updated example search in test script

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoadd marc data to bib search index
Bill Erickson [Tue, 3 Sep 2019 21:33:19 +0000 (17:33 -0400)]
add marc data to bib search index

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoConsolidate some indexing code
Bill Erickson [Fri, 30 Aug 2019 21:08:31 +0000 (17:08 -0400)]
Consolidate some indexing code

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib marc record index / searching
Bill Erickson [Wed, 28 Aug 2019 21:41:39 +0000 (17:41 -0400)]
bib marc record index / searching

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib marc record index / searching
Bill Erickson [Wed, 28 Aug 2019 16:16:17 +0000 (12:16 -0400)]
bib marc record index / searching

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib marc record index
Bill Erickson [Tue, 27 Aug 2019 21:50:47 +0000 (17:50 -0400)]
bib marc record index

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agosupport es proxied path; indexes one at a time
Bill Erickson [Thu, 18 Jul 2019 19:20:13 +0000 (15:20 -0400)]
support es proxied path; indexes one at a time

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agodata sync continued / _id fix
Bill Erickson [Tue, 9 Jul 2019 14:31:04 +0000 (10:31 -0400)]
data sync continued / _id fix

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoworking on data sync
Bill Erickson [Mon, 8 Jul 2019 22:12:16 +0000 (18:12 -0400)]
working on data sync

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agodisabled marc indexer experiment
Bill Erickson [Mon, 8 Jul 2019 14:46:20 +0000 (10:46 -0400)]
disabled marc indexer experiment

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRemove some TODO comments: done
Bill Erickson [Tue, 2 Jul 2019 20:51:13 +0000 (16:51 -0400)]
Remove some TODO comments: done

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoEL sample config superseded by per-index definitions
Bill Erickson [Fri, 31 May 2019 18:51:50 +0000 (14:51 -0400)]
EL sample config superseded by per-index definitions

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoforce-on ang7 cat for now
Bill Erickson [Tue, 12 Feb 2019 17:40:30 +0000 (17:40 +0000)]
force-on ang7 cat for now

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoAvoid huge index values
Bill Erickson [Tue, 12 Feb 2019 17:02:36 +0000 (17:02 +0000)]
Avoid huge index values

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLog first/last bib ID of each indexed batch
Bill Erickson [Mon, 11 Feb 2019 19:05:01 +0000 (14:05 -0500)]
Log first/last bib ID of each indexed batch

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoIndexer orders by ID for batch consistency
Bill Erickson [Mon, 11 Feb 2019 17:11:10 +0000 (12:11 -0500)]
Indexer orders by ID for batch consistency

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoindexer start-date support
Bill Erickson [Tue, 6 Nov 2018 15:52:59 +0000 (10:52 -0500)]
indexer start-date support

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoES gets child init
Bill Erickson [Tue, 6 Nov 2018 15:20:02 +0000 (10:20 -0500)]
ES gets child init

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agocopy loc/stat filters
Bill Erickson [Tue, 6 Nov 2018 02:21:50 +0000 (21:21 -0500)]
copy loc/stat filters

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agocopy loc/stat filters wip
Bill Erickson [Mon, 5 Nov 2018 22:21:09 +0000 (17:21 -0500)]
copy loc/stat filters wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoGroup searches OR-based; lower kw normalizer
Bill Erickson [Fri, 2 Nov 2018 20:56:37 +0000 (16:56 -0400)]
Group searches OR-based; lower kw normalizer

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoQP comp continued
Bill Erickson [Fri, 2 Nov 2018 18:48:55 +0000 (14:48 -0400)]
QP comp continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoang6 catalog use correct search_format filter
Bill Erickson [Wed, 31 Oct 2018 21:34:07 +0000 (17:34 -0400)]
ang6 catalog use correct search_format filter

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoQP based query compilation
Bill Erickson [Wed, 31 Oct 2018 21:30:43 +0000 (17:30 -0400)]
QP based query compilation

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agosearch_format filter; logging
Bill Erickson [Tue, 30 Oct 2018 15:07:04 +0000 (11:07 -0400)]
search_format filter; logging

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agofacets continued
Bill Erickson [Tue, 30 Oct 2018 14:51:46 +0000 (10:51 -0400)]
facets continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib search api wip
Bill Erickson [Mon, 29 Oct 2018 22:17:01 +0000 (18:17 -0400)]
bib search api wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib search api wip
Bill Erickson [Mon, 29 Oct 2018 22:02:32 +0000 (18:02 -0400)]
bib search api wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib search api wip
Bill Erickson [Mon, 29 Oct 2018 22:01:38 +0000 (18:01 -0400)]
bib search api wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoIndexer improvements, docs, and options
Bill Erickson [Mon, 29 Oct 2018 17:58:27 +0000 (13:58 -0400)]
Indexer improvements, docs, and options

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agofacets, etc.
Bill Erickson [Sat, 27 Oct 2018 14:31:46 +0000 (10:31 -0400)]
facets, etc.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoel conf idl fields, etc.
Bill Erickson [Fri, 26 Oct 2018 18:00:25 +0000 (14:00 -0400)]
el conf idl fields, etc.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agouse existing indexed values; refactoring
Bill Erickson [Fri, 26 Oct 2018 15:43:38 +0000 (11:43 -0400)]
use existing indexed values; refactoring

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agouse existing indexed values
Bill Erickson [Fri, 26 Oct 2018 01:17:43 +0000 (21:17 -0400)]
use existing indexed values

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib-search indexing; search api wip
Bill Erickson [Wed, 24 Oct 2018 21:42:28 +0000 (17:42 -0400)]
bib-search indexing; search api wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib-search indexing; search api wip
Bill Erickson [Wed, 24 Oct 2018 19:20:53 +0000 (15:20 -0400)]
bib-search indexing; search api wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib-search indexing; search api wip
Bill Erickson [Wed, 24 Oct 2018 15:37:37 +0000 (11:37 -0400)]
bib-search indexing; search api wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib-search indexing wip
Bill Erickson [Wed, 24 Oct 2018 14:36:56 +0000 (10:36 -0400)]
bib-search indexing wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib-search indexing wip
Bill Erickson [Tue, 23 Oct 2018 22:18:24 +0000 (18:18 -0400)]
bib-search indexing wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib-search indexing wip
Bill Erickson [Tue, 23 Oct 2018 14:57:11 +0000 (10:57 -0400)]
bib-search indexing wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib-search indexing wip
Bill Erickson [Mon, 22 Oct 2018 23:31:28 +0000 (19:31 -0400)]
bib-search indexing wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agobib-search indexing wip
Bill Erickson [Mon, 22 Oct 2018 21:09:56 +0000 (17:09 -0400)]
bib-search indexing wip

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agojson config for now; index create/delete
Bill Erickson [Mon, 22 Oct 2018 20:46:04 +0000 (16:46 -0400)]
json config for now; index create/delete

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoES/EG SQL
Bill Erickson [Mon, 22 Oct 2018 16:43:55 +0000 (12:43 -0400)]
ES/EG SQL

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen
Andrea Buntz Neiman [Mon, 21 Oct 2019 20:33:44 +0000 (16:33 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen

6 years agoDocs: added Request Items section to Items Status doc
Andrea Buntz Neiman [Mon, 21 Oct 2019 20:31:00 +0000 (16:31 -0400)]
Docs: added Request Items section to Items Status doc

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
6 years agoLP#1816475: offset the start time after end time alert
Galen Charlton [Fri, 18 Oct 2019 15:56:54 +0000 (11:56 -0400)]
LP#1816475: offset the start time after end time alert

Move the alert over to align with the date inputs for a slightly
tidier appearance.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: form validation prevents users from making reservations in the past
Jane Sandberg [Mon, 14 Oct 2019 21:47:49 +0000 (14:47 -0700)]
LP1816475: form validation prevents users from making reservations in the past

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: give booking pull list columns the correct datatype
Jane Sandberg [Mon, 14 Oct 2019 19:27:46 +0000 (12:27 -0700)]
LP1816475: give booking pull list columns the correct datatype

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: Strip whitespace from patron barcodes
Jane Sandberg [Thu, 10 Oct 2019 03:27:43 +0000 (20:27 -0700)]
LP1816475: Strip whitespace from patron barcodes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: Change calendar_today icon to event icon
Jane Sandberg [Wed, 9 Oct 2019 19:25:17 +0000 (12:25 -0700)]
LP1816475: Change calendar_today icon to event icon

The locally served calendar_today icon doesn't look good in buttons
(like the date-select and datetime-select component buttons).  But the
event icon looks very similar, and doesn't have the same negative
effects when placed in buttons.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: use [routerLink] instead of href in Angular app
Jane Sandberg [Wed, 9 Oct 2019 18:42:08 +0000 (11:42 -0700)]
LP1816475: use [routerLink] instead of href in Angular app

Using <a href=""> forces a reload of the Angular app in the user's
browser, which substantially slows down the experience.  This commit
changes some href attributes to routerLink directives in the booking
navigation menu.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: Fix resource type filter in manage reservations grid
Jane Sandberg [Fri, 13 Sep 2019 18:04:27 +0000 (11:04 -0700)]
LP1816475: Fix resource type filter in manage reservations grid

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: Add ancestors checkbox to manage reservations screen
Jane Sandberg [Fri, 13 Sep 2019 15:16:15 +0000 (08:16 -0700)]
LP1816475: Add ancestors checkbox to manage reservations screen

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: Don't let users edit reservation.email_notify, pickup_lib, request_lib
Jane Sandberg [Tue, 10 Sep 2019 01:18:06 +0000 (18:18 -0700)]
LP1816475: Don't let users edit reservation.email_notify, pickup_lib, request_lib

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: Add action buttons to Pickup and Return reservation screens
Jane Sandberg [Mon, 9 Sep 2019 21:52:16 +0000 (14:52 -0700)]
LP1816475: Add action buttons to Pickup and Return reservation screens

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: Return reservations screen refreshes properly
Jane Sandberg [Mon, 9 Sep 2019 15:02:53 +0000 (08:02 -0700)]
LP1816475: Return reservations screen refreshes properly

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: Fix an icon spacing issue
Jane Sandberg [Mon, 9 Sep 2019 12:27:51 +0000 (05:27 -0700)]
LP1816475: Fix an icon spacing issue

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1816475: Add a Create Reservation button to the Create Reservation screen
Jane Sandberg [Mon, 9 Sep 2019 12:11:15 +0000 (05:11 -0700)]
LP1816475: Add a Create Reservation button to the Create Reservation screen

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1830973 Remove no longer needed navbar margin mods
Bill Erickson [Mon, 21 Oct 2019 17:38:46 +0000 (13:38 -0400)]
LP1830973 Remove no longer needed navbar margin mods

Angular 8 and dependency changes render some existing nav bar padding no
longer necessary.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP1830973 Angular8 lint repair
Bill Erickson [Mon, 21 Oct 2019 17:25:42 +0000 (13:25 -0400)]
LP1830973 Angular8 lint repair

Avoid lint warning:

"In the class "NotBeforeMomentValidatorDirective", the directive input
property "egNotBeforeMoment" should not be renamed."

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP1830973 Angular 8 updates
Bill Erickson [Mon, 21 Oct 2019 15:18:29 +0000 (11:18 -0400)]
LP1830973 Angular 8 updates

Update package.json versions and perform the angular 7 to angular 8
migration steps.

Update some configs to match supported options in newer versions of
typescript and tslint.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP1830973 Angular reversioning script
Bill Erickson [Mon, 5 Aug 2019 21:58:41 +0000 (17:58 -0400)]
LP1830973 Angular reversioning script

Script for rebuilding the dependencies for the Angular app.  This is
useful both for major Angular upgrades or just for simply refreshing the
deps on the current version to ensure everything is up to date, but not
so up to date is breaks Angular compatibility.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP1830973 Node install v12.6.0
Bill Erickson [Mon, 8 Jul 2019 16:28:17 +0000 (12:28 -0400)]
LP1830973 Node install v12.6.0

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP1830973 Deps installer uses Angular 8
Bill Erickson [Mon, 8 Jul 2019 15:08:20 +0000 (11:08 -0400)]
LP1830973 Deps installer uses Angular 8

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP1821969 Additional fix to second_given_name
Michele Morgan [Mon, 16 Sep 2019 18:50:16 +0000 (14:50 -0400)]
LP1821969 Additional fix to second_given_name

Adds primary second_given_name to the preferred name if there is no
preferred second_given_name. This matches the behavior of the other name
fields.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1821969 Patron Prefix and Suffix Display in Summary
Garry Collum [Wed, 8 May 2019 00:57:50 +0000 (20:57 -0400)]
LP1821969 Patron Prefix and Suffix Display in Summary

Adds support for displaying the patron prefix, suffix, preferred prefix, and preferred suffix in the patron summary sidebar.

To test:
  1. Add a combination of prefixes, suffixes, preferred prefixes, and preferred suffixes to several patrons.
  2. Also add some other preferred information to some of these patrons.
  3. In the sidebar notice the lack of prefix information in both the patron's main heading and in the preferred name information.
  4. Apply the patch.
  5. In the sidebar the prefixes and suffixes are now displayed.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1802952: stamp schema update
Galen Charlton [Mon, 21 Oct 2019 18:08:39 +0000 (14:08 -0400)]
LP#1802952: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1802952 Check bib visibility for located URI auto suggest
Dan Wells [Mon, 12 Nov 2018 16:31:33 +0000 (11:31 -0500)]
LP#1802952 Check bib visibility for located URI auto suggest

Suggestions from records with only located URIs (no copies) do not
appear in the OPAC search suggestions. This appears to be a cousin of
bug #1773479, but in a neighboring function.

In the case of libraries with LURIs, we need to consider bib visibility
separate from copy visibility in order for both to show up.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1749970 Fix paging of pending patrons
Jeff Godin [Tue, 2 Apr 2019 16:49:18 +0000 (12:49 -0400)]
LP#1749970 Fix paging of pending patrons

Fix paging of pending patrons by passing a count and offset to the
backend API call.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1657171 - Adding upgrade script
Chris Sharp [Mon, 21 Oct 2019 13:44:27 +0000 (09:44 -0400)]
LP#1657171 - Adding upgrade script

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1657171 - Normalize right and left single and double quotes
Michele Morgan [Fri, 12 Oct 2018 20:01:40 +0000 (16:01 -0400)]
LP#1657171 - Normalize right and left single and double quotes

Changes search_normalize and naco_normalize to replace right and left
leaning single quotes with U+0027, double quotes with U=0022

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1777698 Duplicate barcode alert appearing on new barcodes
Dan Briem [Sun, 11 Aug 2019 01:02:00 +0000 (21:02 -0400)]
LP#1777698 Duplicate barcode alert appearing on new barcodes

When scanning new copy barcodes, ng-change quickly fires multiple times
and sends promises to check for duplicates. If 1234 exists and you scan
12345, if the 1234 promise resolves after 12345, it will indicate it's a
duplicate. This patch keeps a count of the promises sent and only the
latest promise will set the boolean to indicate if it's a duplicate.

Hard to test because the promises usually resolve in order:
1. Add a new holding with the first few characters of an unused barcode
2. Scan the new barcode multiple times until you see the dup error
3. Apply patch and scan the new barcode multiple times (no error)

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP 985957 Prevent hold activation date being in the past
Suzanne Paterno [Tue, 6 Aug 2019 14:25:05 +0000 (10:25 -0400)]
LP 985957 Prevent hold activation date being in the past

Created a new JS function isValidDate. Checks that the date is in the future, is a valid date within the month/year given. Also makes sure the date is in the proper format D/m/Y.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
6 years agoLP#1778606 Web Client - Place Hold Requires Two Clicks on Submit
Dan Briem [Fri, 4 Oct 2019 14:57:06 +0000 (10:57 -0400)]
LP#1778606 Web Client - Place Hold Requires Two Clicks on Submit

Issue: the barcode lookup runs on the input's onchange, onkeypress (Enter), &
disables the submit button until the patron loads. So, if you type a barcode,
click enter, click the submit button, mousedown fires, if focus was still the
barcode input, its onchange fires, the lookup runs again, the submit button
disables, prevents button mouseup from firing, the click event is disrupted, &
the form doesn't submit. Click again & it works.

Instead of onchange & onkeypress this branch runs the lookup when there's a
500ms pause between onkeydowns. onpaste and enter still run the lookup
immediately. The patron search triggers the input's keydown instead of change.

To test:
1. Search for any holdable item in the catalog and click Place Hold
2. Type in an existing patron barcode and click Enter
3. Before tabbing or clicking off the barcode input, click the Submit button
4. Note it doesn't submit - click again and it submits
5. Apply patch
6. Repeat steps 1-3
7. Note it submits

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
6 years agoLP#1555791: add release notes entry
Galen Charlton [Fri, 18 Oct 2019 15:05:47 +0000 (11:05 -0400)]
LP#1555791: add release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1555791 - Hide Print List from checkout screen
Josh Stompro [Fri, 13 Sep 2019 20:02:36 +0000 (15:02 -0500)]
LP#1555791 - Hide Print List from checkout screen

Hide the print list button from the checkout screen so customers
don't learn to use that instead of logout.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1842763: Vandelay: disable grid row select on queued record matches
Jeff Davis [Thu, 10 Oct 2019 18:04:48 +0000 (11:04 -0700)]
LP#1842763: Vandelay: disable grid row select on queued record matches

Users are on this screen to select a merge target, which they do by
selecting a cell in the Merge Target column.  The grid selector
checkboxes are confusing and useless (they don't support the purpose of
this screen and there are no supported actions for selected rows).

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1841089 Apply button in Patron Bill History screen is in confusing location
Dan Briem [Sat, 24 Aug 2019 18:44:01 +0000 (14:44 -0400)]
LP#1841089 Apply button in Patron Bill History screen is in confusing location

It's possible to miss the apply button for the date range in bill history
because it's located before the datepickers. The interface also allows
invalid date ranges.

This removes the apply button and watches the start and finish dates in the
bill history and payment history controllers. If it's not first init and they
are valid date objects in a valid date range, the grid refreshes with the new
date range query. If start > finish they are set equal to each other to force
a valid range.

To test:

1. Apply patch
2. Bring up a patron with bills and payments (or add bills and payments)
3. Under the Bills tab click History
4. Change the date range and observe that the grid refreshes
5. Try to set the start date past the finish date and vice versa

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1729435: stamp DB update
Galen Charlton [Fri, 4 Oct 2019 14:33:45 +0000 (10:33 -0400)]
LP#1729435: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1729435: Add Seed Data for WS type for Bill Full Details grids
Michele Morgan [Fri, 5 Apr 2019 20:55:19 +0000 (16:55 -0400)]
LP#1729435: Add Seed Data for WS type for Bill Full Details grids

Adds the config.workstation_setting_type values to the seed data and
an upgrade script to allow storing in the database.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1729435: Allow saving Bill Full Details grids
Remington Steed [Mon, 5 Nov 2018 21:11:35 +0000 (16:11 -0500)]
LP#1729435: Allow saving Bill Full Details grids

For a web staff eg-grid to save and retrieve its settings, it needs a unique
persist-key. This commit adds one for the Bills grid and Payments grid on the
patron bills Full Details view (right-click a bill, choose Full Details, then
click the Details tab).

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1803790: apply alphabetization fix to Angular admin splash pages
Galen Charlton [Fri, 4 Oct 2019 14:12:49 +0000 (10:12 -0400)]
LP#1803790: apply alphabetization fix to Angular admin splash pages

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1803790 Re-alphabetize Local & Server Administration Links
Terran McCanna [Wed, 6 Mar 2019 21:40:53 +0000 (16:40 -0500)]
LP#1803790 Re-alphabetize Local & Server Administration Links

Small fix that re-orders the links that were out of order due
to link name changes.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1609556: only include OPAC-visible copies in SRU/Z39.50 holdings
Jeff Davis [Tue, 2 Oct 2018 21:28:31 +0000 (14:28 -0700)]
LP#1609556: only include OPAC-visible copies in SRU/Z39.50 holdings

To test:

1. Create a bib record.
2. Add an item to the record at BR1. Mark it as not OPAC-visible.
3. Do a CONS-level SRU search for the record, including holdings. The
   record is not included in results because there are no OPAC-visible
   holdings.
4. Add a second item to the same record, this time at BR3. Mark this
   one as OPAC-visible.
5. Repeat the CONS-level SRU search, including holdings. The record
   appears in search results, but holdings information in 852 includes
   *all* copies, including non-OPAC-visible copies.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>