]> git.evergreen-ils.org Git - evergreen/pines.git/log
evergreen/pines.git
5 years agouncomment div to allow NoveList Select to work correctly rel_3_2_2
Chris Sharp [Wed, 27 Feb 2019 11:31:29 +0000 (06:31 -0500)]
uncomment div to allow NoveList Select to work correctly

5 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>
5 years agoLp 1813290: Fix IAMBROWSER check in ac lineitem table.
Jason Stephenson [Sat, 9 Feb 2019 20:45:50 +0000 (15:45 -0500)]
Lp 1813290: Fix IAMBROWSER check in ac lineitem table.

Looks like commit e9a9875d added a check for IAMBROWSER that missed
the window.  This commit adds the window.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
5 years agoTerran's fix for hold editing
Chris Sharp [Thu, 7 Feb 2019 13:17:18 +0000 (08:17 -0500)]
Terran's fix for hold editing

5 years agoLP1779467: Fix bug with charging fees when marking item damaged.
Jason Stephenson [Sun, 3 Feb 2019 16:44:09 +0000 (11:44 -0500)]
LP1779467: Fix bug with charging fees when marking item damaged.

Revert the changes made to the mark_damaged function in the web staff
client code (Open-ILS/web/js/ui/default/staff/circ/services/circ.js)
earlier in this branch.  The new code does not handle the mark damaged
process correctly, but the original code does.

Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agolp1642036 Web Staff Client - Group Members Don't Display
blake [Mon, 2 Oct 2017 19:42:06 +0000 (14:42 -0500)]
lp1642036 Web Staff Client - Group Members Don't Display

Altered app.js so that the call to grid.setQuery happens after the initTab
execution. Using .then().

Test:
1. Login to webby. Search patrons. Find a patron.
2. Click a search result and click the "Other" Menu.
3. Choose "Group Member Details"
4. Notice that there are no grid items.
5. Apply the patch. Repeat 1-3.
6. Notice that there is at least one grid item.

Signed-off-by: blake <blake@mobiusconsortium.org>
5 years agoRevert "LP#1642036 - Prevent race condition in Group Member Grid"
Chris Sharp [Thu, 31 Jan 2019 14:55:39 +0000 (09:55 -0500)]
Revert "LP#1642036 - Prevent race condition in Group Member Grid"

This reverts commit fc25827212daab2e6d3b36b81afec3c3dca36eeb.

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

5 years agoRevert "LP#1642036 - Prevent race condition in Group Member Grid"
Chris Sharp [Thu, 31 Jan 2019 14:52:08 +0000 (09:52 -0500)]
Revert "LP#1642036 - Prevent race condition in Group Member Grid"

This reverts commit bb815ffb019d730412d859b5e350e0b6e039fd08.

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

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

5 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>
5 years agoLP#1812698 - Fix broken pubdate display
Chris Sharp [Mon, 21 Jan 2019 16:49:54 +0000 (11:49 -0500)]
LP#1812698 - Fix broken pubdate display

reporter.simple_record, which is now used more
extensively for bib display, had a copy-paste error
originating in 2014 that now gets corrected.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 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>
5 years agotypo correction
Chris Sharp [Sun, 20 Jan 2019 17:55:30 +0000 (12:55 -0500)]
typo correction

5 years agotypo correction
Chris Sharp [Sun, 20 Jan 2019 17:31:08 +0000 (12:31 -0500)]
typo correction

5 years agotypo correction
Chris Sharp [Sun, 20 Jan 2019 17:09:29 +0000 (12:09 -0500)]
typo correction

5 years agoLP1783421 - Make Copy Alerts permission not global
James Fournie [Thu, 17 Jan 2019 21:23:12 +0000 (13:23 -0800)]
LP1783421 - Make Copy Alerts permission not global

For some reason copy alerts require global permissions.  Instead
update the IDL for asset.active_copy_alert and asset.copy_alert to
require {CREATE,VIEW,UPDATE,DELETE}_COPY_ALERT perms only as far as
they are scoped for the circ lib of the copy.

Signed-off-by: James Fournie <jfournie@vcc.ca>
5 years agoRevert "LP#1746360 Record Bucket Missing Deleted and Edition Columns"
Chris Sharp [Wed, 16 Jan 2019 23:12:58 +0000 (18:12 -0500)]
Revert "LP#1746360 Record Bucket Missing Deleted and Edition Columns"

This reverts commit 3730fc8f0146cbb44ce8722defec2d8a5af19d86.

5 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

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

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

5 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

5 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

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

5 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>
5 years agoremoving spine label printing feature
Chris Sharp [Tue, 15 Jan 2019 16:58:04 +0000 (11:58 -0500)]
removing spine label printing feature

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

5 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

5 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

5 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

5 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

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

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

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

5 years agoLp 1803734: Only push on-order purchase orders in edi_order_pusher.pl.
Jason Stephenson [Thu, 10 Jan 2019 18:45:45 +0000 (13:45 -0500)]
Lp 1803734: Only push on-order purchase orders in edi_order_pusher.pl.

Add a check for the state of purchase orders being on-order when
gathering them in edi_order_pusher.pl.

Signed-off-by: Jason Stephenson <jason@sigio.com>
5 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

5 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

5 years agoLP#1746360 Record Bucket Missing Deleted and Edition Columns
McCanna [Wed, 7 Nov 2018 17:33:42 +0000 (12:33 -0500)]
LP#1746360 Record Bucket Missing Deleted and Edition Columns

Added deleted and edition columns to the record bucket grid.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agotweak parent/guardian data update
Chris Sharp [Thu, 10 Jan 2019 12:23:42 +0000 (07:23 -0500)]
tweak parent/guardian data update

5 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>
5 years agoLP1765179 - fix issue with pending/staged user reg
Cesar Velez [Fri, 7 Dec 2018 23:50:43 +0000 (18:50 -0500)]
LP1765179 - fix issue with pending/staged user reg

After completing a staged user registration, the controller
in regctl.js was refreshing to the same route, and
trying to fetch the same staged user, but never finding it
as it was no longer staged/pending. This addresses that bug
and adds a bChannel refresh to the pending grid, so once
the user is registered in the child tab, it closes the tab and
the pending user grid is updated.

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

5 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

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

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

5 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>
5 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>
5 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>
5 years agoLP#1779467: Fix 'Dicard' typo
Kathy Lussier [Fri, 23 Nov 2018 21:07:24 +0000 (16:07 -0500)]
LP#1779467: Fix 'Dicard' typo

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
5 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.

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

5 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>
5 years agoLP#1743783 Web Client Bill Full Detail Display Issues
Terran McCanna [Wed, 12 Dec 2018 22:57:19 +0000 (17:57 -0500)]
LP#1743783 Web Client Bill Full Detail Display Issues

Fleshes out retrieved data to be able to display the billing
location for both circulation and grocery bills on the full
details page as well as the owning library for circulation bills.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agoLP#1662535 Patron Bill Grid Columns
Terran McCanna [Thu, 13 Dec 2018 02:56:55 +0000 (21:56 -0500)]
LP#1662535 Patron Bill Grid Columns

1) Adding missing columns, including:

- Call Number
- Owning Library
- Shelving Location
- Last Billing Note
- Last Billing Timestamp
- Last Payment Timestamp
- Last payment Note
- Last Payment Type

2) Corrected path for Type

3) Changed column name for Location to 'Billing Location'
and the former Billing Location to 'Grocery Billing Location' for clarity

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agoOffline Interface: Display text for non-cataloged items
McCanna [Thu, 13 Dec 2018 16:29:04 +0000 (11:29 -0500)]
Offline Interface: Display text for non-cataloged items

When a non-cataloged item is checked out, display preview
text instead of a blank barcode.

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

5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 years agoremove post-upgrade script
Chris Sharp [Sun, 21 Oct 2018 22:32:05 +0000 (18:32 -0400)]
remove post-upgrade script

5 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

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

5 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

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

5 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

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

5 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

5 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

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

5 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

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

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

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

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