evergreen/pines.git
7 years agoLP#1772680: fix typo
Galen Charlton [Tue, 14 Aug 2018 00:41:58 +0000 (20:41 -0400)]
LP#1772680: fix typo

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Fixed vendor tab issue
Jaswinder Singh [Thu, 26 Jul 2018 00:47:25 +0000 (20:47 -0400)]
LP#1772680: Fixed vendor tab issue

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Resolved multiple issues
Jaswinder Singh [Wed, 25 Jul 2018 20:43:11 +0000 (16:43 -0400)]
LP#1772680: Resolved multiple issues

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Fixed multiple issues and add the ability to return an e-item
Jaswinder Singh [Mon, 23 Jul 2018 16:06:19 +0000 (12:06 -0400)]
LP#1772680: Fixed multiple issues and add the ability to return an e-item

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Minor fixes
Jaswinder Singh [Mon, 23 Jul 2018 04:02:20 +0000 (00:02 -0400)]
LP#1772680: Minor fixes

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Fixed issues with advanced search, Tab name, and wishlist
Jaswinder Singh [Sun, 22 Jul 2018 23:00:40 +0000 (19:00 -0400)]
LP#1772680: Fixed issues with advanced search, Tab name, and wishlist

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Fixed search and other issues
Jaswinder Singh [Thu, 19 Jul 2018 12:29:26 +0000 (08:29 -0400)]
LP#1772680: Fixed search and other issues

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Enhance the add to display wishlist on myopac page
Jaswinder Singh [Tue, 10 Jul 2018 19:08:37 +0000 (15:08 -0400)]
LP#1772680: Enhance the add to display wishlist on myopac page

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Fixed the search issue
Jaswinder Singh [Fri, 6 Jul 2018 15:38:51 +0000 (11:38 -0400)]
LP#1772680: Fixed the search issue

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Resolved multiple issues
Jaswinder Singh [Thu, 28 Jun 2018 19:35:27 +0000 (15:35 -0400)]
LP#1772680: Resolved multiple issues

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Fixed issues dealing with search feature and new User
Jaswinder Singh [Fri, 22 Jun 2018 20:24:38 +0000 (16:24 -0400)]
LP#1772680: Fixed issues dealing with search feature and new User

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Fixed download issue
Jaswinder Singh [Tue, 19 Jun 2018 03:43:34 +0000 (23:43 -0400)]
LP#1772680: Fixed download issue

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: Implementation of Checkout, Hold, and other enhancements
Jaswinder Singh [Mon, 18 Jun 2018 05:06:31 +0000 (01:06 -0400)]
LP#1772680: Implementation of Checkout, Hold, and other enhancements

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772680: enhancements to RBDigital integration
Jaswinder Singh [Thu, 14 Jun 2018 20:30:40 +0000 (16:30 -0400)]
LP#1772680: enhancements to RBDigital integration

This feature allows searching of RBdigital resources from the Evergreen
catalog without needing to import and maintain bibliographic records for
the RBdigital resources.

The RBdigital search results will appear in the OPAC on a different tab -
a search in basic or advanced Evergreen search will carry over to the
RBdigital tab (along with filters when mapping is feasible) so that the
user can type in a search once and see both sets of results. The design
of the RBdigital tab will make use of the OPAC styling for consistency.

This feature is sponsored by Recorded Books (RBDigital) and
GPLS and was primary written by Jaswinder Singh with code contributions
and testing from the Equinox Open Library Initiative.

Signed-off-by: Jaswinder Singh <jaswinder.singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoadding new post-upgrade script
Chris Sharp [Sat, 17 Nov 2018 12:59:57 +0000 (07:59 -0500)]
adding new post-upgrade script

7 years agoLP 1779467: Fix Error When Marking Item on Hold as Discard/Weed
Jason Stephenson [Mon, 12 Nov 2018 14:17:11 +0000 (09:17 -0500)]
LP 1779467: Fix Error When Marking Item on Hold as Discard/Weed

Fix the following error when marking an on-hold item as Discard/Weed:

Can't use an undefined value as an ARRAY reference at
/usr/local/share/perl/5.18.2/OpenILS/Application/Circ.pm line 1393.

Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoLP 1779467: Fix typo in circ/renew/app.js.
Jason Stephenson [Mon, 12 Nov 2018 14:03:31 +0000 (09:03 -0500)]
LP 1779467: Fix typo in circ/renew/app.js.

Had copyies for copies in one location and this prevented marking an
item as Discard/Weed from working on the renew item interface.

Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoLP 1779467: Fix SyntaxError: missing ) after argument list
Jason Stephenson [Mon, 5 Nov 2018 21:38:48 +0000 (16:38 -0500)]
LP 1779467: Fix SyntaxError: missing ) after argument list

Missing parenthesis in Open-ILS/web/js/ui/default/staff/cat/catalog/app.js
caused the titular error when searching the catalog.

Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoLP 1779467: Enhance Mark Items Functionality
Jason Stephenson [Sat, 27 Oct 2018 19:48:54 +0000 (15:48 -0400)]
LP 1779467: Enhance Mark Items Functionality

A new option to "Mark Item as Discard/Weed" is added to many actions
menus in the staff client.  This command is connected to the back end
function open-ils.circ.mark_item_discard.

The back end functionality for the open-ils.circ.mark_item_* family of
functions is altered to provide more consistent behavior and to avoid
some strange situations that have come up in the past, such as items
with the Missing status having active transits or open circulations.

The code for "Mark Item as Damaged" and "Mark Item as Missing" are
altered to take advantage of the back end changes.  NB: These changes
do not affect the "Mark Item as Missing Pieces" function, as that is
handled by different back end code.

Perl live tests are added for the backend functionality changes to
test that certain conditions works.  Like most of our tests these
could be expanded to cover more potential situations.

See the release notes for more detail on changes in functionality.

Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoLP#1684202 - fix holdings grid refresh... bre_id array always be integers
Cesar Velez [Wed, 7 Nov 2018 16:09:10 +0000 (11:09 -0500)]
LP#1684202 - fix holdings grid refresh... bre_id array always be integers

For some strange reason the volcopy bchannel event data.records
would be an array of string integers or a array of ints depending
on whether you're adding or editing holdings. This addresses that
weirdness.

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

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
7 years agoLP#1684202 - fix bug the prevented automatic refresh
Cesar Velez [Wed, 17 Oct 2018 22:06:01 +0000 (18:06 -0400)]
LP#1684202 - fix bug the prevented automatic refresh

Turns out that Array.includes() does not do implicit type convertions
Typical javascript...

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

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
7 years agoLP#1684202: Protect against missing features; Make feature more general
Mike Rylander [Fri, 14 Sep 2018 15:03:30 +0000 (11:03 -0400)]
LP#1684202: Protect against missing features; Make feature more general

I've wrapped the BroadcastChannel code in a test derived from the auth version
of the same concept.  Also broadcasting the full set of record IDs and the
pre-update call number IDs for other interfaces that might be interested. The
channel name is also made more generic and made to follow the precedent from
the auth channel name.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
7 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>
7 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>
7 years agoremove post-upgrade script
Chris Sharp [Sun, 21 Oct 2018 22:32:05 +0000 (18:32 -0400)]
remove post-upgrade script

7 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

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

7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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.

7 years agoLP#1764542 - Update older sites to MODS 3.3
Chris Sharp [Mon, 4 Jun 2018 17:10:31 +0000 (13:10 -0400)]
LP#1764542 - Update older sites to MODS 3.3

MODS 3.3 support was introduced in March 2009, but this
change was never included in an upgrade script.  Older
sites on 3.1+ will need to apply this update to avoid scary
segmentation faults, and it should be harmless for newer
sites and desirable for those on 3.0 or older.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
7 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

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

7 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

7 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

7 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>
7 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

7 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

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

7 years agoLP#1772062: prevent copy template apply failure on null stat cats and non-null statca...
Jeff Davis [Fri, 8 Jun 2018 19:09:54 +0000 (12:09 -0700)]
LP#1772062: prevent copy template apply failure on null stat cats and non-null statcat filter

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 years agoRevert "PINES Customization for Syndetics"
Chris Sharp [Tue, 10 Jul 2018 10:40:23 +0000 (06:40 -0400)]
Revert "PINES Customization for Syndetics"

This reverts commit 329d5d9dbd51d8bf2c7ab3b2e447e047ddd7e3a0.

7 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>
7 years agoPINES Customization for Syndetics
McCanna [Tue, 5 Jun 2018 18:01:36 +0000 (14:01 -0400)]
PINES Customization for Syndetics
(This is attempt 3 - ignore previous attempts.)

- Eliminates unnecessary calls in the perlmod for all types of content.
- Creates new modal popup instead of creating tabbed links.
- Copies syndetics url & id to eg_vhost.conf for easier access by tt2.
- Updates extras.tt2 to always expand added content section if content.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
7 years agoRevert "LP#1764542 - Update older sites to MODS 3.3"
Chris Sharp [Mon, 4 Jun 2018 17:44:20 +0000 (13:44 -0400)]
Revert "LP#1764542 - Update older sites to MODS 3.3"

This reverts commit 1f4123fbcfc1285f2914ea7ec8bafa34accc572a.

7 years agoLP#1764542 - Update older sites to MODS 3.3
Chris Sharp [Mon, 4 Jun 2018 17:10:31 +0000 (13:10 -0400)]
LP#1764542 - Update older sites to MODS 3.3

MODS 3.3 support was introduced in March 2009, but this
change was never included in an upgrade script.  Older
sites will need to apply this update to avoid scary
segmentation faults, and it shouls be harmless for newer
sites.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
7 years agoPINES Local Customization: Hide Set Default View Button
McCanna [Wed, 23 May 2018 21:00:57 +0000 (17:00 -0400)]
PINES Local Customization: Hide Set Default View Button

This hides the Set Default View button that is in the web staff client
on the catalog item pages. Clicking the button has caused white screen
problems that have not been resolved. (There is also a button on the Admin >
Workstation page, but that was hidden in a different local customization
patch.)

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
7 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

7 years agoRevert "temp fix for broken library locator"
Chris Sharp [Mon, 14 May 2018 17:52:10 +0000 (13:52 -0400)]
Revert "temp fix for broken library locator"

This reverts commit a1ab46766e8fcb313bc039ccf46313fcc8054334.

7 years agotemp fix for broken library locator
Chris Sharp [Mon, 14 May 2018 17:46:38 +0000 (13:46 -0400)]
temp fix for broken library locator

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 years agoPINES Temp Fix: Hide Adv Search Default Pane
McCanna [Tue, 23 Jan 2018 20:16:58 +0000 (15:16 -0500)]
PINES Temp Fix: Hide Adv Search Default Pane

Hide section that sets advanced search default pane
in web client because it causes problems in Chrome.
Can un-hide when bug 1731272 is fixed.

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

7 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

7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 years agoRevert "PINES Cust: Add shortname to alerts"
Chris Sharp [Thu, 11 Jan 2018 19:09:27 +0000 (14:09 -0500)]
Revert "PINES Cust: Add shortname to alerts"

This reverts commit b814b414a79e98d5be790d1ba52d5d1056928426.

7 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>
7 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>
7 years agoPINES Cust: Add shortname to alerts
Terran McCanna [Wed, 27 Dec 2017 23:25:24 +0000 (18:25 -0500)]
PINES Cust: Add shortname to alerts

Add the short name of the library who created an alert to
the alert line in the patron summary bar.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
7 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>
7 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>
7 years agoPINES Customization: Require Parent/Guardian Field
Terran McCanna [Thu, 21 Dec 2017 22:43:10 +0000 (17:43 -0500)]
PINES Customization: Require Parent/Guardian Field

This shows a warning on screen if a juvenile patron doesn't have
the parent/guardian field filled in (although it doesn't actually
require it).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
7 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>
7 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>
7 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>
7 years agoMy Account Bills Screen
McCanna [Wed, 20 Dec 2017 19:52:19 +0000 (14:52 -0500)]
My Account Bills Screen

This fixes column header conflict between old changes and new.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
7 years agoPINES Customization: Hide Barred Checkbox on New Patron Reg
McCanna [Wed, 20 Dec 2017 18:57:44 +0000 (13:57 -0500)]
PINES Customization: Hide Barred Checkbox on New Patron Reg

Hide the barred checkbox when creating a new patron account because
it is unnecessary. Display it only when editing accounts.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
7 years agoHide Patron Search Button on Place Hold Screen
McCanna [Wed, 20 Dec 2017 18:53:53 +0000 (13:53 -0500)]
Hide Patron Search Button on Place Hold Screen

The functionality is currently broken (LP Bug 1724052) so hiding
the button until it is fixed.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
7 years agoFix for PINES-Specific Holdings Sort Order
McCanna [Wed, 20 Dec 2017 18:45:44 +0000 (13:45 -0500)]
Fix for PINES-Specific Holdings Sort Order

See Tom Berezansky's original fix at:
http://git.evergreen-ils.org/?p=evergreen/pines.git;a=commit;h=adc566e152d10796b73c992a16ae46e69cc3ab77

Some changes to the base code required this fix to be updated.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
7 years agoremove offline blocked list download button
Chris Sharp [Tue, 19 Dec 2017 14:07:07 +0000 (09:07 -0500)]
remove offline blocked list download button

7 years agoRevert "Re-apply fix for Fix for org unit order in OPAC holdings list"
Chris Sharp [Mon, 18 Dec 2017 19:37:12 +0000 (14:37 -0500)]
Revert "Re-apply fix for Fix for org unit order in OPAC holdings list"

This reverts commit 83aef4b5a3714c87080de52082b9327036271ba7.

7 years agoRe-apply fix for Fix for org unit order in OPAC holdings list
Chris Sharp [Mon, 18 Dec 2017 18:25:50 +0000 (13:25 -0500)]
Re-apply fix for Fix for org unit order in OPAC holdings list

7 years agoRevert "Fix for org unit order in OPAC holdings list (adapted from"
Chris Sharp [Mon, 18 Dec 2017 16:43:00 +0000 (11:43 -0500)]
Revert "Fix for org unit order in OPAC holdings list (adapted from"

This reverts commit 02778825199abf50891b4c247cb65526fbe6824b.

7 years agoPINES OPAC Fix: Holdings Navigation
McCanna [Mon, 4 Dec 2017 22:51:00 +0000 (17:51 -0500)]
PINES OPAC Fix: Holdings Navigation

Add in OPAC code from Master to calculate the number of copies.

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