evergreen/pines.git
6 years agoLP1796945: More Accurate Joins in AngularJS IDL
Jason Boyer [Mon, 28 Jan 2019 14:45:35 +0000 (09:45 -0500)]
LP1796945: More Accurate Joins in AngularJS IDL

Currently all joins of all classes are hard-coded to
inner, which is clearly sub-optimal. This branch
tries to correct this by looking at the reltype param
on links.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
6 years agoLP#1642036 - Prevent race condition in Group Member Grid
Cesar Velez [Thu, 26 Jul 2018 21:39:36 +0000 (17:39 -0400)]
LP#1642036 - Prevent race condition in Group Member Grid

A timing condition was causing the setQuery() fnc to not
exist when called resulting in a blank group members grid.
A simple $timeout seems to address it.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

6 years agoadding xact rollback & begin
Chris Sharp [Wed, 23 Jan 2019 18:52:31 +0000 (13:52 -0500)]
adding xact rollback & begin

6 years agoRemoves red notice about emailed queue complete notice on LMOR.
Tiffany Little [Mon, 21 Jan 2019 16:29:27 +0000 (11:29 -0500)]
Removes red notice about emailed queue complete notice on LMOR.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
6 years agoReturns Activate PO ticky to LMOR
Tiffany Little [Mon, 21 Jan 2019 14:38:10 +0000 (09:38 -0500)]
Returns Activate PO ticky to LMOR

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
6 years agotypo correction
Chris Sharp [Sun, 20 Jan 2019 17:09:29 +0000 (12:09 -0500)]
typo correction

6 years agoadd copy alert perms to LocalAdmin and LibraryManager
Chris Sharp [Wed, 16 Jan 2019 15:53:13 +0000 (10:53 -0500)]
add copy alert perms to LocalAdmin and LibraryManager

6 years agoAdds documentation links to acqadmin menus
Tiffany Little [Thu, 10 Jan 2019 17:13:13 +0000 (12:13 -0500)]
Adds documentation links to acqadmin menus

Adds links to appropriate PINES wiki pages for remaining Dojo Acquisition administration menus. Additionally also marks required fields on Load MARC Order Records page.

6 years agoRemoves checkin date column
Tiffany Little [Tue, 15 Jan 2019 15:33:09 +0000 (10:33 -0500)]
Removes checkin date column

6 years agoRemoves Circ ID and fixes publisher
Tiffany Little [Thu, 10 Jan 2019 13:22:14 +0000 (08:22 -0500)]
Removes Circ ID and fixes publisher

6 years agoRemoves edition, due date, floating and holds count
Tiffany Little [Tue, 8 Jan 2019 15:58:04 +0000 (10:58 -0500)]
Removes edition, due date, floating and holds count

6 years agoRemoved auto-populate of column options in Item Bucket, individually outlined column...
Tiffany Little [Tue, 27 Nov 2018 16:27:14 +0000 (11:27 -0500)]
Removed auto-populate of column options in Item Bucket, individually outlined column options in alphabetical order.

6 years agoLP#1737800 - add delete action to pending patrons
Cesar Velez [Wed, 12 Dec 2018 22:43:35 +0000 (17:43 -0500)]
LP#1737800 - add delete action to pending patrons

This adds a way to remove a pending/staged user from
the pending users grid.

Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoremoving spine label printing feature
Chris Sharp [Tue, 15 Jan 2019 16:58:04 +0000 (11:58 -0500)]
removing spine label printing feature

6 years agoLP#1726568: expose circ lib and owning lib fields to spine/pocket labels
Galen Charlton [Thu, 15 Nov 2018 14:59:44 +0000 (09:59 -0500)]
LP#1726568: expose circ lib and owning lib fields to spine/pocket labels

This patch fleshes the item circulation library and owning library
fields so that spine/pocket labels can include the short name or
full name of the OU rather than just the ID.  As a consequence, the
following fields are now available for label templates:

* copy['call_number.owning_lib.id']
* copy['call_number.owning_lib.shortname']
* copy['call_number.owning_lib.name']
* copy['circ_lib.id']
* copy['circ_lib.shortname']
* copy['circ_lib.name']

If, for some reason, existing label templates intentionally use
copy['call_number.owning_lib'] or copy['circ_lib'] to include the numeric
ID of the OU on the label, they will need to be replaced with
copy['call_number.owning_lib.id'] or copy['circ_lib.id'] respectively.

To test
-------
[1] Apply the patch.
[2] Open the print labels window for an item and try including one
    or more of the new fields listed above; verify that the current
    value is displayed on the label preview.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoswitch around order, update already existing setting
Chris Sharp [Mon, 14 Jan 2019 15:35:33 +0000 (10:35 -0500)]
switch around order, update already existing setting

6 years agoadding several other post-upgrade tasks to script
Chris Sharp [Mon, 14 Jan 2019 15:12:44 +0000 (10:12 -0500)]
adding several other post-upgrade tasks to script

6 years agoLocalAdmin already has COPY_DELETE_WARNING.override
Chris Sharp [Mon, 14 Jan 2019 14:59:46 +0000 (09:59 -0500)]
LocalAdmin already has COPY_DELETE_WARNING.override

6 years agoCat1 already has COPY_DELETE_WARNING.override
Chris Sharp [Mon, 14 Jan 2019 14:45:06 +0000 (09:45 -0500)]
Cat1 already has COPY_DELETE_WARNING.override

6 years agoStaff already have CREATE_DUPLICATE_HOLDS perm
Chris Sharp [Mon, 14 Jan 2019 14:33:34 +0000 (09:33 -0500)]
Staff already have CREATE_DUPLICATE_HOLDS perm

6 years agomore typo corrections
Chris Sharp [Mon, 14 Jan 2019 14:28:25 +0000 (09:28 -0500)]
more typo corrections

6 years agoLocalAdmin already has EMERGENCY_CLOSING
Chris Sharp [Mon, 14 Jan 2019 14:22:11 +0000 (09:22 -0500)]
LocalAdmin already has EMERGENCY_CLOSING

6 years agotypo corrections
Chris Sharp [Mon, 14 Jan 2019 14:17:22 +0000 (09:17 -0500)]
typo corrections

6 years agoadding perms and settings for post-upgrade
Chris Sharp [Sun, 13 Jan 2019 16:44:55 +0000 (11:44 -0500)]
adding perms and settings for post-upgrade

6 years agoadding refressh of reporter.materialized_simple_record
Chris Sharp [Fri, 11 Jan 2019 23:03:53 +0000 (18:03 -0500)]
adding refressh of reporter.materialized_simple_record

6 years agotweak parent/guardian data update
Chris Sharp [Thu, 10 Jan 2019 12:23:42 +0000 (07:23 -0500)]
tweak parent/guardian data update

6 years agoPINES Fix to Search Results Title
McCanna [Tue, 8 Jan 2019 19:52:58 +0000 (14:52 -0500)]
PINES Fix to Search Results Title

Fixes problem where Search Results page title was overlapping
filter boxes.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoadding file to combine rbdigital installation
Chris Sharp [Tue, 8 Jan 2019 19:45:16 +0000 (14:45 -0500)]
adding file to combine rbdigital installation

6 years agoadding parent/guardian data
Chris Sharp [Tue, 8 Jan 2019 15:57:23 +0000 (10:57 -0500)]
adding parent/guardian data

6 years agoRemoves "Activate PO" ticky box on the Load MARC Order Records page.
Tiffany Little [Tue, 8 Jan 2019 14:47:49 +0000 (09:47 -0500)]
Removes "Activate PO" ticky box on the Load MARC Order Records page.

6 years agoLP#1714070 Patron parent/guardian field
Bill Erickson [Mon, 22 Oct 2018 00:10:19 +0000 (20:10 -0400)]
LP#1714070 Patron parent/guardian field

Adds a new dedicated patron parent/guardian field.  This field is
editable in the patron edit interface, displays in the patron summary
side bar on the browser client, and is search-able from the patron
search interface in the browser client.

Adds patron editor "show" and "suggest" library settings.

Also adds a new library setting
'ui.patron.edit.guardian_required_for_juv' ("GUI: Juvenile account
requires parent/guardian").  When this setting is applied, a value
will be required in the patron editor when the juvenile flag is active.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoPINES Cust: Make offline interface alerts bolder
Terran McCanna [Sat, 5 Jan 2019 01:22:17 +0000 (20:22 -0500)]
PINES Cust: Make offline interface alerts bolder

This overwrites the bootstrap CSS just for the offline
circulation page alerts boxes.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Custom: Redisplay print and email links on item record page
Terran McCanna [Sat, 5 Jan 2019 00:38:49 +0000 (19:38 -0500)]
PINES Custom: Redisplay print and email links on item record page

These were hidden in a previous patch because the functionality
wasn't there, but now that the functionality is working, adding
them back in.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1737800 - add delete action to pending patrons
Cesar Velez [Wed, 12 Dec 2018 22:43:35 +0000 (17:43 -0500)]
LP#1737800 - add delete action to pending patrons

This adds a way to remove a pending/staged user from
the pending users grid.

6 years agoPINES Customization: Patron Summary Link to Library
Terran McCanna [Tue, 11 Dec 2018 00:31:49 +0000 (19:31 -0500)]
PINES Customization: Patron Summary Link to Library

Turn patron home library name on the patron summary bar into
a link to the library's contact info page.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1810296: Fix selfcheck patron password setting check
Chris Sharp [Wed, 2 Jan 2019 12:21:56 +0000 (07:21 -0500)]
LP#1810296: Fix selfcheck patron password setting check

Previously, the selfcheck ignored this setting if it was
set to "False", since the setting value is stored as text
and the truth test always succeeded.  Instead, explicitly
check that the setting is "True".

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoPINES Custom Hold Shelf Slip
Terran McCanna [Mon, 10 Dec 2018 19:43:07 +0000 (14:43 -0500)]
PINES Custom Hold Shelf Slip

Updated to include new preferred name at top of slip (when
present).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoadding perms for new copy alert features
Chris Sharp [Mon, 17 Dec 2018 17:48:24 +0000 (12:48 -0500)]
adding perms for new copy alert features

6 years agoPINES CSS Customizations
Terran McCanna [Wed, 12 Dec 2018 17:14:54 +0000 (12:14 -0500)]
PINES CSS Customizations

Restores previous CSS customizations that got knocked out
somewhere along the way.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization: Alert when no hold notification options
Terran McCanna [Mon, 10 Dec 2018 19:17:42 +0000 (14:17 -0500)]
PINES Customization: Alert when no hold notification options

Present an alert if no notification options are selected in
both the OPAC and web staff client.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Custom: Adjust top menu bar in OPAC for baskets
Terran McCanna [Mon, 10 Dec 2018 20:58:39 +0000 (15:58 -0500)]
PINES Custom: Adjust top menu bar in OPAC for baskets

- Adjust spacing so that the basket doesn't go off the edge of the
menu bar.
- Add responsive code as well.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Custom Offline Checkout and Renew Receipts
Terran McCanna [Mon, 10 Dec 2018 20:36:05 +0000 (15:36 -0500)]
PINES Custom Offline Checkout and Renew Receipts

- Correct due date to not show due time.
- Show 'Non-cataloged Item' text when there is no barcode.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Custom fix for Patron Self Registration Form DOB Validation
Terran McCanna [Fri, 7 Dec 2018 22:10:16 +0000 (17:10 -0500)]
PINES Custom fix for Patron Self Registration Form DOB Validation

This moved away from master at some point. This patch brings it back
in line along with correcting a dob format checking error.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoadding new post-upgrade script
Chris Sharp [Sat, 17 Nov 2018 12:59:57 +0000 (07:59 -0500)]
adding new post-upgrade script

6 years agoPINES Cust: Fix layout for Patron Edit Form
McCanna [Mon, 5 Nov 2018 18:18:46 +0000 (13:18 -0500)]
PINES Cust: Fix layout for Patron Edit Form

Readjustments to previous customizations that no longer work
properly with 3.2. Also added links to relevant documentation.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoPINES OPAC fix to My Lists
McCanna [Mon, 5 Nov 2018 20:14:49 +0000 (15:14 -0500)]
PINES OPAC fix to My Lists

Removes incomplete IF statement that caused page not to load.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoremove post-upgrade script
Chris Sharp [Sun, 21 Oct 2018 22:32:05 +0000 (18:32 -0400)]
remove post-upgrade script

6 years agoPINES doesn't use LoC bib source
Chris Sharp [Sat, 20 Oct 2018 22:03:07 +0000 (18:03 -0400)]
PINES doesn't use LoC bib source

6 years agodrop triggers first
Chris Sharp [Sat, 20 Oct 2018 20:15:02 +0000 (16:15 -0400)]
drop triggers first

6 years agocreate index only if not exists
Chris Sharp [Sat, 20 Oct 2018 17:03:28 +0000 (13:03 -0400)]
create index only if not exists

6 years agoLP#793802 Billing/payment purge improvements
Bill Erickson [Wed, 26 Sep 2018 21:22:11 +0000 (17:22 -0400)]
LP#793802 Billing/payment purge improvements

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#793802 Aged billings/payments release notes
Bill Erickson [Fri, 21 Sep 2018 19:56:25 +0000 (15:56 -0400)]
LP#793802 Aged billings/payments release notes

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#793802 Aged billings/payments PGTAP tests
Bill Erickson [Fri, 21 Sep 2018 19:53:23 +0000 (15:53 -0400)]
LP#793802 Aged billings/payments PGTAP tests

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#793802 Add money.all_[payments|billings] views
Bill Erickson [Mon, 24 Sep 2018 14:33:13 +0000 (10:33 -0400)]
LP#793802 Add money.all_[payments|billings] views

Similar to money.all_circulation_slim, add views to collect data from
both active and aged versions of the payment and billing tables.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#793802 Aged billings and payments
Bill Erickson [Fri, 21 Sep 2018 18:53:33 +0000 (14:53 -0400)]
LP#793802 Aged billings and payments

Creates tables money.aged_billing and money.aged_payment.  When a
circulation is aged, billings/payments linked to the circ are migrated
to the aged_* table.

Upgrade script includes a migration script for migrating existing
billings and payments.

Includes IDL entries for reporting and pcrud access just in case it's
needed.  Note the 'xact' column on these new tables links directly to
the aged circulation instead of the non-existent money.billable_xact.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoAdd fix for PG segfaults during reingest.
Chris Sharp [Mon, 10 Sep 2018 20:37:11 +0000 (16:37 -0400)]
Add fix for PG segfaults during reingest.

Also add inline docs.

6 years agofix eg version in post upgrade script
Chris Sharp [Mon, 10 Sep 2018 01:18:37 +0000 (21:18 -0400)]
fix eg version in post upgrade script

6 years agoremove z3950 update for LoC
Chris Sharp [Sun, 9 Sep 2018 18:13:19 +0000 (14:13 -0400)]
remove z3950 update for LoC

6 years agofix out-of-sync id sequence
Chris Sharp [Sun, 9 Sep 2018 16:32:27 +0000 (12:32 -0400)]
fix out-of-sync id sequence

6 years agodrop reporter.copy_statistics_view for upgrade to work
Chris Sharp [Sun, 9 Sep 2018 14:40:24 +0000 (10:40 -0400)]
drop reporter.copy_statistics_view for upgrade to work

6 years agoLP#1672346 - Copy Statistics View
Chris Sharp [Sun, 8 Oct 2017 02:44:49 +0000 (22:44 -0400)]
LP#1672346 - Copy Statistics View

Certain third-party products such as collection development
management providers require copy statistics that are not
readily available in a single report.  This view adds those,
which will also benefit library staff reports generally.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoadd pre-3.2-upgrade script
Chris Sharp [Sat, 8 Sep 2018 20:36:36 +0000 (16:36 -0400)]
add pre-3.2-upgrade script

6 years agoadding 3.1-3.2 upgrade script
Chris Sharp [Sat, 8 Sep 2018 20:02:02 +0000 (16:02 -0400)]
adding 3.1-3.2 upgrade script

6 years agomove reingests to the end
Chris Sharp [Sat, 8 Sep 2018 20:00:49 +0000 (16:00 -0400)]
move reingests to the end

6 years agoadd iOS link to OPAC footer
Chris Sharp [Fri, 24 Aug 2018 16:21:56 +0000 (12:21 -0400)]
add iOS link to OPAC footer

6 years agoLP#1738249: further fix to checkout workstation
Galen Charlton [Tue, 6 Feb 2018 21:44:32 +0000 (16:44 -0500)]
LP#1738249: further fix to checkout workstation

Since accs.checkout_workstation contains the workstation associated
with the initial loan (and not any subsequent renewals), use that.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1738249 - Fix checkout_workstation display issue
Cesar Velez [Thu, 25 Jan 2018 17:50:59 +0000 (12:50 -0500)]
LP#1738249 - Fix checkout_workstation display issue

Addresses the issue with checkout workstation, by
attaching as a object property to the flatCopy hash.
Also makes sure the pcrud call uses combcirc.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1788260 - Break out in-house-use non-cat circulations.
Chris Sharp [Tue, 21 Aug 2018 18:22:05 +0000 (14:22 -0400)]
LP#1788260 - Break out in-house-use non-cat circulations.

Previously, all non-cataloged circulations were grouped
together, causing problems for libraries who need to
exclude in-house circulations from circ counts.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1785887 edi_order_pusher.pl sets message account
Bill Erickson [Tue, 7 Aug 2018 20:26:27 +0000 (16:26 -0400)]
LP#1785887 edi_order_pusher.pl sets message account

Apply the edi_message.account value when sending EDI order messages via
edi_order_pusher.pl.  This solves a problem where EDI ORDERS message
were not visible in the interface, because there was no way to complete
the permission check.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1743650: Bib vis testing needs different handling
Mike Rylander [Tue, 16 Jan 2018 23:54:47 +0000 (18:54 -0500)]
LP#1743650: Bib vis testing needs different handling

For bib-level visibility testing, we can only use the source helper for
positive inclusion, and have to deal with LURIs on a case-by-case basis.
This is because, unlike the copy visibility cache, the LURI cache is pre-
composed in a single value for all LURIs on a record, not separate ones
for each.  This is fine, as we just need to find the effectively visible
org units and test for that subset of the relevant orgs. This commit provides
a sub to test for that, and handles LURI test composition at the perl
level rather than in the database.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agofixing typo in PINES documentation link
Chris Sharp [Fri, 27 Jul 2018 15:57:19 +0000 (11:57 -0400)]
fixing typo in PINES documentation link

6 years agoLP#1773417 Revamp item and call number tranfers
Dan Wells [Tue, 12 Jun 2018 18:20:03 +0000 (14:20 -0400)]
LP#1773417 Revamp item and call number tranfers

This commit attempts to achieve the goals of both simplification and
feature completeness/flexibility.  In brief, limit the number of
marking and transfer options, then have the code decide the right
action to take given the circumstances.

There are now just two "marking" actions, one at the record level,
one at the holdings level.  The holdings level mark will automatically
mark the destination as specifically as possible from the selected row,
which means either to the library or call number (vol) level.

We are also now down to two transfer options: transfer the selected
item, or transfer the selected call number.  Either option will use
as much given context as possible, then fill in any blanks with
reasonable defaults and actions.

As part of the change, a number of functions and variables are also
renamed.  This is all done for clarification, and in most cases is
due to the variable or function now being used more generally (i.e.
it is used in both the item and vol context, so it is confusing to
be named 'volume_transfer_target', etc.).

Finally, clear up a fair bit of now redundant and unused code.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1737812: Simplify holdings tranfser options
Mike Rylander [Sun, 29 Apr 2018 22:56:38 +0000 (18:56 -0400)]
LP#1737812: Simplify holdings tranfser options

Instead of providing direct actions for transfer of library, or record, or
both, have just one volume transfer option that Does the Right Thing (tm).

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoPINES Syndetics Customization
Terran McCanna [Mon, 9 Jul 2018 18:04:46 +0000 (14:04 -0400)]
PINES Syndetics Customization

This attempt leaves the Syndetics perl code in place to retrieve images,
but ignores it in favor of hardcoding in the Added Content button and
modal code on the item details page.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1721139 User Buckets - View Batch Changes date/time display not wrapping.
Garry Collum [Mon, 4 Jun 2018 21:37:58 +0000 (17:37 -0400)]
LP#1721139 User Buckets - View Batch Changes date/time display not wrapping.

This fixes a wrapping issue in Firefox for the date/time display in the 'View Batch Changes' modal in user buckets.  The css change was made to style.css.tt2 because the class can be used for other tables with text wrapping issues.

To test.
1. Using user buckets, make some batch changes on some patrons and roll back some of those changes.
2. Using Firefox, click on the 'View Batch Edits' button.
3. Apply patch.
4. Delete browser cache, and then log back in and 'View Batch Edits' again.

Signed-off-by: Garry Collum <gcollum@gmail.com>
6 years agoPINES does not use patron credit, so remove it from view
Chris Sharp [Tue, 22 May 2018 19:16:59 +0000 (15:16 -0400)]
PINES does not use patron credit, so remove it from view

6 years agoPINES: Further customizations to new books feed
McCanna [Wed, 25 Apr 2018 16:24:06 +0000 (12:24 -0400)]
PINES: Further customizations to new books feed

Hid availability because it didn't differentiate between in process
and checked out. Added copydepth to url because it wasn't working on
production without it.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoLP 1735539: Now with streaming action.
Jason Stephenson [Fri, 13 Apr 2018 17:56:00 +0000 (13:56 -0400)]
LP 1735539: Now with streaming action.

Modify item service selectedHoldingsCopyDelete method one more time to
use streaming response instead of getting all results in a single,
atomic call.  This should better handle large numbers of selected
items.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
6 years agoLP 1735539: Simplify item service selectedHoldingsCopyDelete.
Jason Stephenson [Fri, 13 Apr 2018 13:38:39 +0000 (09:38 -0400)]
LP 1735539: Simplify item service selectedHoldingsCopyDelete.

Remove the var copy_objects and the unnecessary push of the results
into var copy_objects.

Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLp 1735539: Fix Item Status ability to delete multiple copies.
Jason Stephenson [Thu, 12 Apr 2018 14:47:40 +0000 (10:47 -0400)]
Lp 1735539: Fix Item Status ability to delete multiple copies.

Set atomic to true for the PCRUD search in the item service's
selectedHoldingsCopyDelete method, and do an angular.forEach over the
results to properly fill the copy_objects array so that all copies end
up in it.  As it was only 1 copy was getting into the array.

To reproduce the bug:
   1. Open Item Status in the web staff client.
   2. Load multiple items, perhaps by uploading a file of barcodes.
   3. Select more than 1 item from the list.
   4. Choose "Delete Items" from the Actions menu.
   5. Note that the dialog indicates that you will delete 1 copy.
   6. Click the Cancel button in the dialog.

To test, after applying the fix branch:
   1. Open Item Status in the web staff client.
   2. Load multiple items, perhaps by uploading a file of barcodes.
   3. Select more than 1 item from the list.
   4. Choose "Delete Items" from the Actions menu.
   5. Note that that the dialog indicates you will delete X copies,
      where X is the number of items selected.
   6. Click OK and confirm that all copies were deleted.
   7. You can confirm 6 by reloading the interface and uploading the
      file of barcodes again.

Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoKPAC Art and Features for SRP 2018
McCanna [Fri, 13 Apr 2018 20:37:11 +0000 (16:37 -0400)]
KPAC Art and Features for SRP 2018

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoCustomization to default print template for Hold Shelf Slip
McCanna [Fri, 13 Apr 2018 16:15:40 +0000 (12:15 -0400)]
Customization to default print template for Hold Shelf Slip

Fixed alignment of notification options.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization to Self-check Wording
McCanna [Fri, 13 Apr 2018 16:25:47 +0000 (12:25 -0400)]
PINES Customization to Self-check Wording

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization for Default Patron Data Print Template
McCanna [Tue, 13 Mar 2018 15:48:44 +0000 (11:48 -0400)]
PINES Customization for Default Patron Data Print Template

Added formatting and signature block.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoRe-add GALILEO features.
Chris Sharp [Tue, 6 Mar 2018 15:12:44 +0000 (10:12 -0500)]
Re-add GALILEO features.

6 years agolp1693036 Patron Editor Print Data
Kyle Huckins [Thu, 15 Feb 2018 23:03:20 +0000 (23:03 +0000)]
lp1693036 Patron Editor Print Data
- Add Print button to Patron Editor.
- Add Patron Data print template.
- Add additional print template dummy data needed for Patron
Data template.
- Implement print functionality for Patron registration/edit
data.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/templates/staff/admin/workstation/t_print_templates.tt2
modified:   Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2
new file:   Open-ILS/src/templates/staff/share/print_templates/t_patron_data.tt2
modified:   Open-ILS/web/js/ui/default/staff/admin/workstation/app.js
modified:   Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js

6 years agoModify custom default hold transit slip to include note
McCanna [Thu, 15 Feb 2018 22:37:30 +0000 (17:37 -0500)]
Modify custom default hold transit slip to include note
that item is needed for a hold. (This was at the request
of several libraries who prioritize their sorting based
on whether items are needed for holds or not.)

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoUpdated PINES Map Graphic including LOPL
McCanna [Thu, 15 Feb 2018 22:40:30 +0000 (17:40 -0500)]
Updated PINES Map Graphic including LOPL

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1747542 - Repair item/user circulation test
Chris Sharp [Mon, 5 Feb 2018 23:58:43 +0000 (18:58 -0500)]
LP#1747542 - Repair item/user circulation test

The action.item_user_circ_test function was previously
ignoring lost or longoverdue and paid-for circulations.
Adding a check for whether the circulation is closed
fixes this.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoKPAC Fix to broken image links
Terran McCanna [Wed, 24 Jan 2018 20:41:28 +0000 (15:41 -0500)]
KPAC Fix to broken image links

Removes cache info from image links in KPAC because
it was causing links on Dewey page to break.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agofix IP redirection by pulling the X-Real-IP header
Chris Sharp [Wed, 24 Jan 2018 17:34:46 +0000 (12:34 -0500)]
fix IP redirection by pulling the X-Real-IP header

6 years agoLP#1691269: (follow-up) include new cust in seed data
Galen Charlton [Mon, 27 Nov 2017 16:08:23 +0000 (11:08 -0500)]
LP#1691269: (follow-up) include new cust in seed data

Also s/Copier/Copy/.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP1691269: Webstaff Copy Editor Templates
Jason Boyer [Sun, 22 Oct 2017 19:42:02 +0000 (15:42 -0400)]
LP1691269: Webstaff Copy Editor Templates

This branch will translate and transfer your XUL client templates
the first time you load the web client copy editor. From that point
on the two diverge with no further connection to each other.

This branch also allows your copy templates to travel with you
between browsers, machines, and so on, while still allowing users
that share a browser but not usernames to have their own templates.

Signed-off-by: Jason Boyer <JBoyer@library.in.gov>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoPINES Customization: Hide Claims Never Checked Out Action
Terran McCanna [Wed, 10 Jan 2018 21:56:38 +0000 (16:56 -0500)]
PINES Customization: Hide Claims Never Checked Out Action

On the patron account's Items Out screen, hide the
Mark Claims Never Checked Out action since we do not use
it in PINES and there is no associated permission to prevent
it from working.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoTemp Fix for Patron Account Expiring Soon Message
Terran McCanna [Wed, 27 Dec 2017 23:23:31 +0000 (18:23 -0500)]
Temp Fix for Patron Account Expiring Soon Message

Marked as temp fix for testing before packaging for submission
to launchpad bug 1726918.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization: Set default damaged billing type
McCanna [Wed, 20 Dec 2017 22:35:40 +0000 (17:35 -0500)]
PINES Customization: Set default damaged billing type

This sets the default billing type when marking an item damaged to
'Damaged Materials' which is ID 106 in our database.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization: Require patron identification
Terran McCanna [Thu, 21 Dec 2017 20:40:46 +0000 (15:40 -0500)]
PINES Customization: Require patron identification

Requires something to be entered in the ID value field

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoNew Books List - Change to Wording
Terran McCanna [Wed, 27 Dec 2017 18:19:46 +0000 (13:19 -0500)]
New Books List - Change to Wording
When no copies available, change wording from 'on order' to
'not available - ask at desk'

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Cust: Damaged popup button colors
Terran McCanna [Wed, 27 Dec 2017 18:49:53 +0000 (13:49 -0500)]
PINES Cust: Damaged popup button colors

Changed Charge / No Charge buttons to different color in response
to staff expressing confusion about which button would submit.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Cust: Reset Patron Search Form with Defaults
Terran McCanna [Wed, 27 Dec 2017 20:58:15 +0000 (15:58 -0500)]
PINES Cust: Reset Patron Search Form with Defaults

Change code to refresh page instead of clearing individual fields,
which resets fields to the defaults we want (inactive checked and
org unit to consortium).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>