evergreen/pines.git
6 years agoLP1772417: Adding the bucket ID to the user bucket display
Jane Sandberg [Mon, 21 May 2018 16:28:39 +0000 (09:28 -0700)]
LP1772417: Adding the bucket ID to the user bucket display

To test:
1) Open a patron bucket.  Note that the bucket ID is not listed
in the bucket information section at the top of this screen.
2) Apply this commit.
3) Open the same patron bucket.  Note that the bucket ID is
listed in the bucket information section

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1752753: Guard against invalid timezone
Jeff Davis [Fri, 2 Mar 2018 00:55:46 +0000 (16:55 -0800)]
LP#1752753: Guard against invalid timezone

If the lib.timezone org setting is not a valid timezone, attempting to
use it can result in an internal server error in the OPAC.  Let's handle
the error with try/catch instead.

To test
-------
1. In Library Settings Editor, edit the "Library time zone" setting for
   Example Branch 1, setting the value to something that's not the name
   of a time zone (like "invalid" or "UTC-07:00").
2. In the OPAC, retrieve a record with holdings at Example Branch 1.
    You will get an Internal Server Error.
3. Edit the library setting to use a valid timezone name, like
   "America/Vancouver".
4. Retrieve the same record again. This time, the record will display
   properly.
5. Apply the patch and repeat steps 1 and 2; this time, there should
   be no internal server error.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoMoving upgrade script into place
Mike Rylander [Fri, 25 May 2018 18:12:25 +0000 (14:12 -0400)]
Moving upgrade script into place

Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoStamping upgrade script
Mike Rylander [Fri, 25 May 2018 18:11:02 +0000 (14:11 -0400)]
Stamping upgrade script

Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1768992: Add missing copy alert permissions
Jeff Davis [Thu, 3 May 2018 22:02:07 +0000 (15:02 -0700)]
LP#1768992: Add missing copy alert permissions

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1693035 Login timeout honors workstation org
Bill Erickson [Tue, 17 Oct 2017 16:40:11 +0000 (12:40 -0400)]
LP#1693035 Login timeout honors workstation org

Use the org unit linked to the provided workstation to collect the
login timeout org unit setting value during login.  Previously, all
checks defaulted to the global org unit.

This patch solidifies the precedence order for OUS lookups during login
like so:

1. Workstation org unit.
2. API org unit value.
3. Users' home org unit.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1746815: Fix sticky hold url param
Cesar Velez [Mon, 5 Feb 2018 22:45:22 +0000 (17:45 -0500)]
LP#1746815: Fix sticky hold url param

Renamed the hold_id url param from "id" to "hid" and prevent it from
sticking in url's where it not needed.

To test
-------
[1] Log in to the public catalog as a patron that has at least
    two hold requests.
[2] Go to the My Account holds tab and edit one of the holds.
[3] Rather than submit a change, click on the holds tab again.
[4] Note that /only/ the hold you were edit displays, and that the
    'id' URL parameter persists as you navigate through the public
    catalog.
[5] Apply the patch and repeat steps 1-3. This time, you should
    see all of the holds.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1772017: Correctly Extract Cast from Records
Jason Boyer [Fri, 18 May 2018 13:12:37 +0000 (09:12 -0400)]
LP1772017: Correctly Extract Cast from Records

authors.tt2 has been using field 508 for cast display but
the correct field is 511 when ind1=1.

Testing note:

In the Concerto data set, the title "The rum diary" is a good test
record, as it has both a 508 field and a 511.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoDocs: Adding to 3.1.2 release notes
Jane Sandberg [Fri, 25 May 2018 15:57:06 +0000 (08:57 -0700)]
Docs: Adding to 3.1.2 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: adding to 3.0.8 release notes
Jane Sandberg [Fri, 25 May 2018 15:50:53 +0000 (08:50 -0700)]
Docs: adding to 3.0.8 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoLP#1753005: Avoid copy alert error for call numbers with no copies
Mike Rylander [Wed, 25 Apr 2018 16:32:15 +0000 (12:32 -0400)]
LP#1753005: Avoid copy alert error for call numbers with no copies

When displaying the Holdings View tab for a bib in the web staff client,
if a volume record has no copies, a Javascript error gets thrown.

Item-less volumes still end up in svc.copies at this point, so at the
moment it is necessary to check whether copy_alerts actually exists.
Some renaming might also be in order to clarify that svc.copies doesn't
necessarily contain /only/ fleshed acp records.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoLP#1755220: Return value checking in offline session fetch
Mike Rylander [Fri, 4 May 2018 13:58:53 +0000 (09:58 -0400)]
LP#1755220: Return value checking in offline session fetch

We need to make sure that we receive the correct shape of data (array) rather
than that we simply got anything when fetching sessions.  In the case of an
expired session token, we'll receive an ILS Event object informing us of the
expiration where we'd normally see a list of sessions.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1745240: Hold Alias Missing from Hold Shelf Slip
Garry Collum [Wed, 23 May 2018 23:47:56 +0000 (19:47 -0400)]
LP#1745240: Hold Alias Missing from Hold Shelf Slip

A patron's hold alias can be printed in the hold shelf slip using the variable patron.alias.  This patch just adds 'patron.alias' to the list of available options displayed at the top of the template. Also adds a colon before the patron's name fields for consistency.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1745232 - Bill History Receipt doesn't have Finish Date
Garry Collum [Thu, 24 May 2018 02:17:38 +0000 (22:17 -0400)]
LP#1745232 - Bill History Receipt doesn't have Finish Date

Adds xact.finish and xact.summary.last_payment to the example data.  Also adds xact.summary.last_payment_ts to the template body to indicate when the last payment was made.  Also adds a list of variables that can be used in the template in the template's description.

To test -
1. apply the patch
2. find a patron with billings, or add some billings to a patron record.
3. make payments on some of the billings using various methods.
4. go to billing history and print the history list.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1743782 Copy Status not available in Check-In Screen
gcollum [Sun, 20 May 2018 17:18:18 +0000 (13:18 -0400)]
LP#1743782 Copy Status not available in Check-In Screen

Makes the status an available column to display in the Check-In screen.

To test:
1. Apply patch.
2. Go to check-in and display 'Status' as a column in the table.
3. Check-in various items that may be checked-out, catch a hold, not checked out, etc.

Signed-off-by: gcollum <gcollum@gmail.com>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1765731 - restore CN suffix and preffix in Holds Pull List
Cesar Velez [Thu, 19 Apr 2018 21:25:59 +0000 (17:25 -0400)]
LP#1765731 - restore CN suffix and preffix in Holds Pull List

Overly gung-ho removal of "redundant" fields/columns in bug
1728147 removed call number prefix and suffix as available columns
in the hold pull list grid in the web staff client; this will
restore them there.

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 agoDocs: Adding to and reorganizing the 3.1.2 release notes
Jane Sandberg [Wed, 23 May 2018 22:52:56 +0000 (15:52 -0700)]
Docs: Adding to and reorganizing the 3.1.2 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: Adding to and reorganizing the 3.0.8 release notes
Jane Sandberg [Wed, 23 May 2018 22:48:02 +0000 (15:48 -0700)]
Docs: Adding to and reorganizing the 3.0.8 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoLP#1765444: improve how MARC editor fetches fixed field metadata
Galen Charlton [Thu, 19 Apr 2018 15:44:42 +0000 (11:44 -0400)]
LP#1765444: improve how MARC editor fetches fixed field metadata

This patch fixes a problem where the web staff MARC editor would
make repeated and redundant calls to two Evergreen methods to fetch
data about fixed field positions and values if that metadata was
not already cached by local storage or Hatch.

In particular, this patch caches and returns the data retrieval
promises, ensuring that only one set of FF position and value
requests are made.

Prior to this patch, each eg-marc-edit-fixed-field directive, of which
there are 64, could end up invoking those methods when initializing
the editor for a record type that had not been previously seen.

To test
-------
[1] Clear all FFPosTable_* and FFValueTable_* keys from local storage
    (or Hatch).
[2] Retrieve a bib record in the web staff client. Note that up to
    64 calls each are made of open-ils.cat.biblio.fixed_field_values.by_rec_type
    and open-ils.fielder.cmfpm.atomic.
[3] Apply the patch and repeat steps #1 and #2.
[4] This time, note that only one call each are made.
[5] Verify that the fixed field inputs continue to work as expected.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1770478: Offline org unit tree can break
Mike Rylander [Tue, 15 May 2018 21:21:00 +0000 (17:21 -0400)]
LP#1770478: Offline org unit tree can break

A thinko in the org tree reconstruction for offline mode caused the tree to be
broken in some situations, when the orgs were not ordered strictly by ID in
the list stored in the browser's IndexedDB storage.  This commit removes that
requirement, and allows trees of any ID and storage ordering to be
reconstituted.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agolp1759327 Populate Copy Templates Floating Dropdown
Kyle Huckins [Tue, 1 May 2018 18:28:36 +0000 (18:28 +0000)]
lp1759327 Populate Copy Templates Floating Dropdown

- Add update watcher and call itemSvc.get_floating_groups within
egVolTemplate directive to properly populate dropdown when accessing
volcopy editor from local administration.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1749996: add option to remove floating in web client copy editor
Jeff Davis [Tue, 24 Apr 2018 21:00:07 +0000 (14:00 -0700)]
LP#1749996: add option to remove floating in web client copy editor

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agolp1760997 Holds Pull List Blank Fields
Kyle Huckins [Wed, 16 May 2018 17:00:26 +0000 (17:00 +0000)]
lp1760997 Holds Pull List Blank Fields

- Requires field data to be loaded into holds pull list grid
initially.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP1749994 Disable payment button pending payment amount
gcollum [Sat, 19 May 2018 00:10:49 +0000 (20:10 -0400)]
LP1749994 Disable payment button pending payment amount

Apply payment button on patron bills screen should be inactive if Payment
Received is blank

Adds a test to see if there is a value in Payment Received input box. The
Apply Payment button doesn't activate unless a billing or billings is
selected and a numerical value is in Payment Received.

To test.
1. Add some billings to a patron's account.
2. Click some of the billings to select them. Notice that the Apply Payment
   button is active.
3. Apply patch
4. Select some of the billings.  The Apply Payment button is not active.
5. Enter some values into Payment Received.  If values other than numbers
   are entered the Apply Payment button is not activated.  If numbers are
   added the button is activated.
6. Uncheck all of the billings to see that the activated button deactivates,
   if no billings are checked.

Signed-off-by: gcollum <gcollum@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1639022 Webstaff convert change to credit
Bill Erickson [Wed, 16 May 2018 21:24:05 +0000 (17:24 -0400)]
LP#1639022 Webstaff convert change to credit

Add support for converting change to patron credit in the patron bills
interface, consistent with the XUL feature.  When the
'circ.disable_patron_credit' org unit setting is applied, the option is
hidden.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Laura Sachjen <sachjenl@branchdistrictlibrary.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoDocs: updating 3.1.2 release notes
Jane Sandberg [Wed, 23 May 2018 01:00:31 +0000 (18:00 -0700)]
Docs: updating 3.1.2 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: updating 3.0.8 release notes
Jane Sandberg [Wed, 23 May 2018 00:55:03 +0000 (17:55 -0700)]
Docs: updating 3.0.8 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoLP#14973322: (follow-up) allow profile-only patron searches
Galen Charlton [Mon, 30 Apr 2018 21:03:26 +0000 (17:03 -0400)]
LP#14973322: (follow-up) allow profile-only patron searches

This patch removes the implicit requirement introduced by the previous
patch that a field other than profile be used in the patron search.

For performance reasons, it might be good to mark permission.grp_descendants()
as stable.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP14973322: Search for Users by Profile
Jason Boyer [Fri, 20 Apr 2018 18:49:25 +0000 (14:49 -0400)]
LP14973322: Search for Users by Profile

Stop treating profile like a text value, instead
include users in the selected profiles and descendants.

To test
-------
[0] Search for users by last name (and / or first) and do not
    select a profile, take note of results
[1] Select the top of your permission group tree (Users, likely) and
    search again, results should be the same.
[2] Select a group further down the tree (Circulators, Administrators,
    Patrons, etc.) and repeat the search, there should only be results
    from that group and its descendants.
[3] Finally, select a group with no child groups. Results will only be
    that specific group.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1497322: add Perl live_t regression and unit tests for patron searching
Galen Charlton [Mon, 30 Apr 2018 20:14:52 +0000 (16:14 -0400)]
LP#1497322: add Perl live_t regression and unit tests for patron searching

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoDocs: Update "Receipt Template Editor" for Web Client
Lynn Floyd [Mon, 30 Apr 2018 22:45:41 +0000 (18:45 -0400)]
Docs: Update "Receipt Template Editor" for Web Client

Completely rewritten chapter. Many thanks to Terran McCanna, as much
was borrowed from her wiki pages.

Signed-off-by: Lynn Floyd <alynn2671@gmail.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Fix two minor typos
Remington Steed [Thu, 17 May 2018 14:24:37 +0000 (10:24 -0400)]
Docs: Fix two minor typos

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: adding to 3.1.2 release notes
Jane Sandberg [Thu, 17 May 2018 11:47:36 +0000 (04:47 -0700)]
Docs: adding to 3.1.2 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: adding to 3.0.8 release notes
Jane Sandberg [Thu, 17 May 2018 11:35:55 +0000 (04:35 -0700)]
Docs: adding to 3.0.8 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: Update Long-overdue docs for web client
Remington Steed [Tue, 15 May 2018 13:59:13 +0000 (09:59 -0400)]
Docs: Update Long-overdue docs for web client

This commit completes LP #1325704 by documenting the setting which
controls which tabs the long-overdue circ can appear on.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoLP#1756912: Stamping upgrade script for add preferred lib to unapi feeds
Kathy Lussier [Tue, 15 May 2018 21:21:53 +0000 (17:21 -0400)]
LP#1756912: Stamping upgrade script for add preferred lib to unapi feeds

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1756912: restore display of copy counts for preferred library
Galen Charlton [Wed, 21 Mar 2018 16:03:27 +0000 (12:03 -0400)]
LP#1756912: restore display of copy counts for preferred library

This patch fixes a regression introduced by the patches for bug 1698206
and restores the display of copy counts for the preferred library (when set)
on the public catalog results and record details pages.

To test
-------
[1] Log into the public catalog as a user and set a preferred library.
[2] Perform a catalog search at a system that is other than the
    preferred library set in step 1. Repeat the search with
    "Groups Formats and Editions" checked.
[3] Note that in both cases, the copy counts displayed in search results and
    the record details pages do not include a line for the preferred
    library.
[4] Apply the patch and repeat step 2. This time, the preferred library
    count should be included in the display.

The substance of this patch (with the exception of the pgTAP tests)
follows an approach suggested by Bob Wicksall <bwicksall@pls-net.org>

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1738893: Release notes entry for batch edit stat cat fix
Kathy Lussier [Tue, 15 May 2018 19:47:56 +0000 (15:47 -0400)]
LP#1738893: Release notes entry for batch edit stat cat fix

Adding release notes entry since the initial maintenance release notes
have already been done.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1738893-allow saving required statcats in multi record vol-copy edit
Cesar Velez [Mon, 30 Apr 2018 19:12:53 +0000 (15:12 -0400)]
LP#1738893-allow saving required statcats in multi record vol-copy edit

This change allows the user to set a required stat cat for multiple
record copies in the Volcopy editor.

Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1771371: Pin to AngularJS 1.6
Jason Stephenson [Tue, 15 May 2018 15:00:21 +0000 (11:00 -0400)]
LP#1771371: Pin to AngularJS 1.6

Folowup commit to pin all Angular entries in package.json to 1.6.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1771371: Pin to AngularJS 1.6
Kathy Lussier [Tue, 15 May 2018 14:34:58 +0000 (10:34 -0400)]
LP#1771371: Pin to AngularJS 1.6

Fixes a problem where we were pulling AngularJS 1.7.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoDocs: Updated Long Overdue items section for web client
Katie G. Martin [Wed, 2 May 2018 15:21:10 +0000 (10:21 -0500)]
Docs: Updated Long Overdue items section for web client

Updated section as per launchpad bug #1325704.

- Updated screenshots.
- Changed name of "Lost, Claimed Returned, Long Overdue, Has Unpaid
  Billings" to "Other/Special Circulations".
- Added tip pointing to the docs chapter on the library settings editor.
- Changed a setting code to its equivalent display name.

Signed-off-by: Katie G. Martin <bcl@blaircountylibraries.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: adding docs contributor to release notes
Jane Sandberg [Mon, 14 May 2018 00:14:18 +0000 (17:14 -0700)]
Docs: adding docs contributor to release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: starting release notes for 3.1.2
Jane Sandberg [Mon, 14 May 2018 00:12:23 +0000 (17:12 -0700)]
Docs: starting release notes for 3.1.2

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: starting 3.0.8 release notes
Jane Sandberg [Mon, 14 May 2018 00:01:10 +0000 (17:01 -0700)]
Docs: starting 3.0.8 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: Update Patron Search to add DOB
Katie G. Martin [Mon, 30 Apr 2018 20:36:56 +0000 (15:36 -0500)]
Docs: Update Patron Search to add DOB

Patron Search now includes DOB y/m/d -- this adds those fields to the
list of searches and adds tips for search syntax for DOB.

Updated advanced search screenshot to include the DOB search fields.

Corrected and simplified sentence about the "include inactive" checkbox.

Signed-off-by: Katie G. Martin <bcl@blaircountylibraries.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Fix inaccuracies in Holdings Import Profiles sections
Remington Steed [Thu, 10 May 2018 15:00:16 +0000 (11:00 -0400)]
Docs: Fix inaccuracies in Holdings Import Profiles sections

In dev/_importing_materials_in_the_staff_client.html:

- Fix "For more details" link
- Remove remaining references to "Keep" (some were removed previously in
  commit 7570423802)
- Remove "static values" references from both pages (not supported)
- Add link to related Library Settings

In dev/_import_item_attributes_2.html:

- Remove sentence fragment left behind when previous "Keep" reference
  was deleted.
- Add table row for "Parts Data"

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoLP#1740537 Transit dialog showing wrong branch
Bill Erickson [Mon, 30 Apr 2018 18:27:41 +0000 (14:27 -0400)]
LP#1740537 Transit dialog showing wrong branch

Always retrieve the latest copy transit from the server when displaying
the copy transit dialog.  This resolves an issue where a just-closed
transit is used instead.

Add a filter to avoid canceled transits.

Make the transit lookup call authoritative, since the transit may have
just been created.

To test (test plan courtesy of John Amundson):

1. Sign in as Library A.
2. Check in an item owned by Library B that does not have any holds
   associated with it. This will send the item in transit to its home,
   Library B.
3. Place a hold on the item to be picked up at Library C.
4. Sign in as Library B.
5. Check in the item. The transit pop-up and printout will show that
   the item needs to be transited to Library B instead of Library C.
6. Apply the patch and repeat steps 1-5 using a different item. This
   time, the transit pop-up will show that the item needs
   to be transited to Library C.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP1766712: Add Scrollbar to Patron Search Permission Group Field
Jane Sandberg [Mon, 30 Apr 2018 20:49:59 +0000 (15:49 -0500)]
LP1766712: Add Scrollbar to Patron Search Permission Group Field

To test:
* Open the patron search screen
* Click the Profile Group dropdown
* Confirm that there is a scrollbar

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1765501: ensure that webstaff MARC editor can deal with short 008s
Galen Charlton [Thu, 19 Apr 2018 19:11:41 +0000 (15:11 -0400)]
LP#1765501: ensure that webstaff MARC editor can deal with short 008s

This patch ensures that the 008 field, when maintained by the web staff
MARC editor, is kept at its proper length. In particular, this solves a
problem where input can get messed up if the user selects the entire
contents of the 008 field and replaces it with a shorter string.

To test
------
[1] Create a new bib record. Ensure that the MARC record editor is
    /not/ in flat text mode.
[2] Edit the 008 field by selecting its entire contents and replacing it
    with a subset. For example, this might be done when the first action
    that a cataloger takes is to set the 008/00-05.
[3] Enter value in the individual fixed-field inputs at the top of the
    MARC editor form. For example, enter 'eng' in the Lang field.
[4] Note that the results are wrong; e.g., the text ends up as
    "080419en en eng".
[5] Apply the patch and repeat steps #1-#4. This time, the results
    should be correct.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1743854 - Correct initial cursor focus in in-house use UI
Chris Sharp [Mon, 7 May 2018 12:31:56 +0000 (08:31 -0400)]
LP#1743854 - Correct initial cursor focus in in-house use UI

Previously, the "Record In-House Use" UI opened with the cursor
focused in the "# of Uses" field, which required staff to manually
select the "Barcode" field.  It is far more intuitive to have the
"Barcode" field have initial focus.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Geoff Sams <gsams@roanoketexas.com>
6 years agoLP#1758426: Disable triggers before recalculating bib visibility in 1085
Ben Shum [Thu, 3 May 2018 15:02:50 +0000 (10:02 -0500)]
LP#1758426: Disable triggers before recalculating bib visibility in 1085

Followup to also disable triggers as part of the numbered upgrade script.

Signed-off-by: Ben Shum <ben@evergreener.net>
6 years agoDocs: adding documentation for the authority_control_fields script
Jane Sandberg [Thu, 3 May 2018 15:03:32 +0000 (10:03 -0500)]
Docs: adding documentation for the authority_control_fields script

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: starting to document the volume/copy editor
Jane Sandberg [Thu, 3 May 2018 02:25:41 +0000 (21:25 -0500)]
Docs: starting to document the volume/copy editor

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoLP#1758426: Disable triggers before recalculating bib visibility
Kathy Lussier [Fri, 23 Mar 2018 20:35:16 +0000 (16:35 -0400)]
LP#1758426: Disable triggers before recalculating bib visibility

Disabling triggers in the 3.0.2-3.0.3 upgrade script to speed up the
recalculation of bib visibility. These are the same triggers that were
disabled when performing a similar recalculation in the 2.12.6-3.0.0 upgrade
script.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
6 years agoRevert "LP#1387722: Update MARC leader when deleting a record"
Ben Shum [Wed, 2 May 2018 05:45:14 +0000 (00:45 -0500)]
Revert "LP#1387722: Update MARC leader when deleting a record"

This reverts commit 7dfcdd814f60a20c1b8b4522e69c0a27c23123b5.

6 years agoRevert "LP#1387722: Stamping upgrade script"
Ben Shum [Wed, 2 May 2018 05:45:12 +0000 (00:45 -0500)]
Revert "LP#1387722: Stamping upgrade script"

This reverts commit f9a4f76fc4ea4cac75687eabf4208cce234b3f05.

6 years agoLP#1739029: adding profile and password env var for novelist
Rogan Hamby [Fri, 22 Dec 2017 14:37:06 +0000 (09:37 -0500)]
LP#1739029: adding profile and password env var for novelist

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
6 years agoLP#1387722: Stamping upgrade script
Ben Shum [Wed, 2 May 2018 03:08:13 +0000 (22:08 -0500)]
LP#1387722: Stamping upgrade script

Signed-off-by: Ben Shum <ben@evergreener.net>
6 years agoLP#1387722: Update MARC leader when deleting a record
Rogan Hamby [Fri, 23 Mar 2018 13:51:59 +0000 (09:51 -0400)]
LP#1387722: Update MARC leader when deleting a record

When merging bib records, in the Leader, position 05 - Record Status
of the deleted record, the code should be changed to "d," for deleted,
as it is when a record is simply deleted within the client.

Rogan's squashed branch for updating record status in leader, along with
pgtap test and release notes.

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
6 years agoLP1119370: Corrects sorting in the list of z39.50 services
Jane Sandberg [Thu, 22 Mar 2018 14:28:27 +0000 (07:28 -0700)]
LP1119370: Corrects sorting in the list of z39.50 services

To test
-------
[1] Add several z39.50 servers, with names starting with both
lower case and capital letters.
[2] In the Web client, go to Cataloging > Import Record from
Z39.50. The list of Services and Credentials will be sorted
in order alphabetically twice -- first for names that start
with a capital letter, then for names that start with lower
case letters.
[3] Apply this patch and repeat step 2.  This time, the list
should be sorted alphabetically, and then have Local Catalog
at the very bottom of the list.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Ben Shum <ben@evergreener.net>
6 years agoLP1724026: fixing alignment issues in patron registration/edit screen
Jane Sandberg [Mon, 19 Mar 2018 22:30:03 +0000 (15:30 -0700)]
LP1724026: fixing alignment issues in patron registration/edit screen

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1759350: followup
Ben Shum [Tue, 1 May 2018 18:11:39 +0000 (13:11 -0500)]
LP#1759350: followup

Small tweak to fix some html syntax in the changes.

Signed-off-by: Ben Shum <ben@evergreener.net>
6 years agoLP#1759350: Allow translation of fixed field mnemonics
Mike Rylander [Mon, 26 Mar 2018 18:52:27 +0000 (14:52 -0400)]
LP#1759350: Allow translation of fixed field mnemonics

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
6 years agoLP#1576727: (follow-up) add unit test
Galen Charlton [Tue, 1 May 2018 18:29:50 +0000 (14:29 -0400)]
LP#1576727: (follow-up) add unit test

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1576727: Delimit bib CN subfields with a space
Mike Rylander [Fri, 29 Apr 2016 19:30:17 +0000 (15:30 -0400)]
LP#1576727: Delimit bib CN subfields with a space

When suggested call numbers are pulled from a bib record, space delimiters are
dropped.  This is bad for noralization routines.  Now we will forcibly inject
a space between subfield values.

Also included are two small optimizations: exit early if no nodes are found
for a particular bib CN definition; use map+join instead of a for loop and
blind substring trim to stitch together an xpath expression.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1732591: (follow-up) fix major regressions
Galen Charlton [Tue, 1 May 2018 02:45:48 +0000 (22:45 -0400)]
LP#1732591: (follow-up) fix major regressions

This patch works around two regressions introduced by a previous patch:

- record links from titles on the OPAC results page simply re-ran
  the search
- record links from cover images on the OPAC results page dropped
  all paramters

In one case, a 'record_url' should have been a mkurl() expression. In the
other case, the prior patch did not handle the clear_params parameter
correctly; an empty array is /not/ equivalent to undef, and all CGI parameters
were getting cleared.

This patch is offered in lieu of simply pushing a revert.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoDocs: Update circulation_patron_records_web_client.adoc
Katie G. Martin [Mon, 30 Apr 2018 20:04:48 +0000 (15:04 -0500)]
Docs: Update circulation_patron_records_web_client.adoc

Signed-off-by: Katie G. Martin <bcl@blaircountylibraries.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: adding info about bibliographic fingerprints
Jane Sandberg [Mon, 30 Apr 2018 20:21:21 +0000 (15:21 -0500)]
Docs: adding info about bibliographic fingerprints

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoLP1748649: Don't show bib call # in show_details mode
Jane Sandberg [Sat, 10 Feb 2018 16:22:20 +0000 (08:22 -0800)]
LP1748649: Don't show bib call # in show_details mode

Using "show more details" in the public catalog displays
a list of items associated with each bib in the results list --
and their call numbers. Consequently, when in that mode, it
is not necessary to separately display one of the bib call numbers
in the bib summary on the results page; this patch removes it.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1748006 Patron edit juv flag manual override
Bill Erickson [Fri, 9 Feb 2018 19:27:05 +0000 (14:27 -0500)]
LP#1748006 Patron edit juv flag manual override

Allow staff to manually override the patron juvenile flag value
regardless of patron DoB.

Patch removes the ng-blur handler for dob and expire_date, which fires
too aggressively.  The dob handler is replaced with a $watch handler, so
the new and old value can be compared.  No watch is applied to
expire_date, since no code is currently fired when it's changed.

Change the log level of the "field changed" message from log to debug.

To test:

[1] Open a patron in the web staff patron editor.
[2] Apply a juvenile birth date (less than 18 years by default).
[3] Confirm the juvenile flag is automatically activated (if it wasn't
    already).
[4] Confirm it's possible to un-check the juvenile flag and save the
    patron.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1752434: (follow-up) fix un/highlighting of author name
Galen Charlton [Mon, 30 Apr 2018 18:43:02 +0000 (14:43 -0400)]
LP#1752434: (follow-up) fix un/highlighting of author name

This patch fixes a regression introduced by the previous patch
that caused portions of an author/contributor name that matched
a search to always be highlighted, regardless of whether or not
the user had turned off highlighting.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1752434: Use display fields even when not highlighting
Mike Rylander [Thu, 1 Mar 2018 20:34:02 +0000 (15:34 -0500)]
LP#1752434: Use display fields even when not highlighting

Always retrieve display field data, and decide whether to use the highlighted
version of each based on the configuration and user option rather than falling
back to template-side MARC extraction when not highlighting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP173259 - Array error appears in search box while placing hold after advanced search
Dan Pearl [Fri, 2 Mar 2018 18:37:43 +0000 (13:37 -0500)]
LP173259 - Array error appears in search box while placing hold after advanced search

The place-hold code assumed it was not in "_adv" parameter mode.  This
assumption was faulty.  Now, the link generated for Place Hold will
translate the argument list to the single-line format that Place Hold
expected, when necessary.

Testing procedure:

Set holds for all the following items, observing that the searchbox in
the searchbar is not blank and does not contain ARRAY(xxx).

Basic Search / Place Hold
Basic Search / Record Detail / Place Hold
Advanced Search with a plain search term / Place Hold
Advanced Search with a plain search term / Record Detail / Place Hold
Advanced Search with a fancy (multiline) search term / Place Hold
Advanced Search with a fancy (multiline) search term / Record Detail / Place Hold

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoLP#1738249: sort out circ or renewal workstation
Galen Charlton [Tue, 6 Feb 2018 21:56:56 +0000 (16:56 -0500)]
LP#1738249: sort out circ or renewal workstation

This patch uses accs to work out the name of the workstation
of the most recent renewal, if it exists, or the original
checkout. It implicitly handles the case where the workstation
on the original circulation is null.  As a bonus, this patch
adds an explicit "Last Renewal Workstation" to the item status
grid.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
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#1738249 - Webstaff CircLib should point to item's circ_lib plus misc
Cesar Velez [Fri, 19 Jan 2018 17:55:03 +0000 (12:55 -0500)]
LP#1738249 - Webstaff CircLib should point to item's circ_lib plus misc

This addresses some display issues in the webstaff Item Status grid.
Besides, correcting the Circ Lib to be the item's and not the
circulation,this also fleshes the owning lib. Additionally, I've applied
miker's fix to 1743819 in order to prevent a regression.

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: Jason Stephenson <jason@sigio.com>
6 years agoLP#1738249: Item status column picker fixes
Kathy Lussier [Wed, 17 Jan 2018 04:40:32 +0000 (23:40 -0500)]
LP#1738249: Item status column picker fixes

Adds some fixes to the column pickers in the web staff client Item Status
interface:

  * The Circulation Library field now displays the asset.copy circ library
    instead of the checkout library.
  * The Circulation Library and Checkout / Renewal Library now show the
    shortname instead of the full name.
  * A typo fix so that Remaining Renewals display

Conflicts:
Open-ILS/src/templates/staff/cat/item/t_list.tt2

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
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: Jason Stephenson <jason@sigio.com>
6 years agoLP#1756993: Add padding to bottom of web client pages
Kathy Lussier [Mon, 19 Mar 2018 20:15:01 +0000 (16:15 -0400)]
LP#1756993: Add padding to bottom of web client pages

Adds 50px of padding at the bottom of web client interfaces. This padding
provides some breathing room at the bottom of the page without giving the
appearance of too much white space.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1746300: Fix circulation counts in Item Status Details
Chris Sharp [Tue, 10 Apr 2018 15:40:35 +0000 (11:40 -0400)]
LP#1746300: Fix circulation counts in Item Status Details

Currently, the "Total Circs -Current Year" and "Total Circs -
Prev Year" numbers are seemingly randomly incorrect.  This is
caused by pulling the numbers from the "circbyyr" fieldmapper
object, which results in an array of 2 rows (one for renewals
and one for new circs).  The current JS only displays the count
for the first item in the array, ignoring the other.

This branch totals the two, resulting in the right result for each
year's circulations.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1758360: handle DOB display logic in egPatronSummary correctly
Galen Charlton [Fri, 23 Mar 2018 18:48:02 +0000 (14:48 -0400)]
LP#1758360: handle DOB display logic in egPatronSummary correctly

This patch ensures that the patron DOB will be displayed or
obscured correctly by the standalone egPatronSummary directive
in the same way that the patron app does.

To test
-------
[1] In the web staff client, do a patron search, select two patrons,
    then click the Merge Patrons button.
[2] Note that the patron DOB is not displayed in the modal.
[3] Apply the patch and repeat step #1.
[4] This time, the patron DOB will be displayed (if the
    circ.obscure_dob library setting is not enabled) or the
    the field label will be clickable (and clicking it will
    cause the DOB to be displayed).

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP1721143: making permission group dropdown scrollable in patron create/edit interface
Jane Sandberg [Sat, 17 Mar 2018 18:01:08 +0000 (11:01 -0700)]
LP1721143: making permission group dropdown scrollable in patron create/edit interface

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1682296: Avoid database query error on serials batch receive
Jeff Davis [Mon, 22 May 2017 20:26:10 +0000 (13:26 -0700)]
LP#1682296: Avoid database query error on serials batch receive

To test
-------
[1] Example Search -> Retrieve title by database ID -> Actions
    for this Record -> Serials Batch Receive -> Next ->
    this works as expected & receivable issues are listed.
[2] Click on "Start Over"; you are prompted to "Enter an identifier
    for a bibliographic record" this is where the search fails

    Example enter "109242427" results in two errors.

[3] Desired behavior - If you enter a database ID or ISSN in the
    "Enter an identifier for a bibliographic record" field the
    receivable issuances should be displayed

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1744585: Patron summary display accessibility fix.
Sam Link [Wed, 24 Jan 2018 15:34:56 +0000 (10:34 -0500)]
LP#1744585: Patron summary display accessibility fix.

When a patron summary contains an image of the patron, that image tag
now has a null alt attribute to remove it from the flow of a screen
reader. As the image provides no navigation capabilities or additional
data, this is the proper way to assign an alt attribute

Signed-off-by: Sam Link <slink@columbiacountyga.gov>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1739044: fix lock file detection in eg-pbx-allocator.pl
Josh Stompro [Tue, 19 Dec 2017 14:37:55 +0000 (08:37 -0600)]
LP#1739044: fix lock file detection in eg-pbx-allocator.pl

Lock file detection wasn't working correctly.  The
wrong operator was used to read the contents of the lock file.

Testing:

Running the eg-pbx-allocator.pl in the background multiple times will
trigger the lock file detection.  Use -t to run in test mode to avoid
moving any files while testing.

/usr/local/bin/eg-pbx-allocator.pl -t -v -c /usr/local/etc/eg-pbx-daemon.conf &
/usr/local/bin/eg-pbx-allocator.pl -t -v -c /usr/local/etc/eg-pbx-daemon.conf

In syslog you can see entries that are missing the PID number when you test
before the fix is installed.

virt-asterisk1 eg-pbx-allocator.pl: lock file present (/tmp/eg-pbx-allocator-LOCK),  still running

after the fix is installed, you will see the PID in the syslog entry.

virt-asterisk1 eg-pbx-allocator.pl: lock file present (/tmp/eg-pbx-allocator-LOCK), 21039 still running

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1745001 - action_trigger_runner.pl max-sleep argument broken.
Josh Stompro [Tue, 23 Jan 2018 19:19:20 +0000 (13:19 -0600)]
LP#1745001 - action_trigger_runner.pl max-sleep argument broken.

Fix the --max-sleep argument so it accepts an integer number of max
seconds to sleep waiting for a lock file to disappear.

Testing:

Before Fix: Add --max-sleep=60 to action_trigger_runner.pl and view the
error message that results.

After Fix: Run the same command and notice that it no longer errors out.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1760223: Update HTTP headers to follow standard
Mike Rylander [Mon, 2 Apr 2018 20:09:12 +0000 (16:09 -0400)]
LP#1760223: Update HTTP headers to follow standard

In the olden days, some browsers didn't understand the "attachment" content
disposition.  They only understood "inline" but would let the user save a file
if a filename was provided.  However, in these modern days, relevant browsers
all do the right thing and know about both flavors of content disposition, so
we, too, must change with the times and support the letter of the standard.

This commit fixes downloading of MARCXML from the Exporter module.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1745233: Don't test for LURIs during copy location searches
Mike Rylander [Mon, 16 Apr 2018 14:29:05 +0000 (10:29 -0400)]
LP#1745233: Don't test for LURIs during copy location searches

When a user is searching with a copy location or location group filter,
Located URIs should not be used to include records in the result set because
they are not "within" a copy location.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoDocs: Update several chapters for web client
Remington Steed [Fri, 20 Apr 2018 16:09:55 +0000 (12:09 -0400)]
Docs: Update several chapters for web client

  - User and Group Permissions
    - One new screenshot
    - Minor line reformatting
  - SMS Text Messaging
    - Update screenshots and alt text
    - Correction/clarification to some instructions
  - Barcode Completion
    - Replace composite screenshot with separate updated screenshots
    - Reformat headings to accommodate new screenshots
    - Update other screenshots
    - Slight rewording (change "actor" to "patron", "asset" to "copy")
    - Remove release date and reference to previous name of feature

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoForward-port 3.0.7 upgrade script
Dan Wells [Thu, 19 Apr 2018 13:49:54 +0000 (09:49 -0400)]
Forward-port 3.0.7 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoForward-port 3.1.1 upgrade script
Dan Wells [Thu, 19 Apr 2018 13:41:52 +0000 (09:41 -0400)]
Forward-port 3.1.1 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoForward-port upgrades notes from 3.1.0
Dan Wells [Wed, 18 Apr 2018 20:41:59 +0000 (16:41 -0400)]
Forward-port upgrades notes from 3.1.0

Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoTouch up release notes for 3.1.1
Dan Wells [Wed, 18 Apr 2018 20:25:54 +0000 (16:25 -0400)]
Touch up release notes for 3.1.1

Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoTouch up release notes for 3.0.7
Dan Wells [Wed, 18 Apr 2018 20:25:34 +0000 (16:25 -0400)]
Touch up release notes for 3.0.7

Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoLP1760662: Item Status Holdable Field Display Follow-up
Jason Stephenson [Mon, 2 Apr 2018 20:14:43 +0000 (16:14 -0400)]
LP1760662: Item Status Holdable Field Display Follow-up

Remove the boolText filter because it was always return false.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoLP1760662: Item Status Holdable Field Display
Jason Boyer [Mon, 2 Apr 2018 17:55:02 +0000 (13:55 -0400)]
LP1760662: Item Status Holdable Field Display

The Holdable field on the Summary tab of the Detail View
of Item Status was displaying the value for OPAC Visible.
Let's change that from opac_visible() to holdable().

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
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.

Use the notify handler instead of the resolve handler to collect our
copies.  This ensures we get them all instead of just the last one.

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>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoDocs: starting release notes for 3.1.1
Jane Sandberg [Tue, 17 Apr 2018 19:14:35 +0000 (12:14 -0700)]
Docs: starting release notes for 3.1.1

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: starting release notes for 3.0.7
Jane Sandberg [Tue, 17 Apr 2018 18:52:24 +0000 (11:52 -0700)]
Docs: starting release notes for 3.0.7

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>