working/Evergreen.git
9 years agoLP#1155313: recalculate normalized labels during upgrade
Galen Charlton [Mon, 2 Mar 2015 14:20:55 +0000 (14:20 +0000)]
LP#1155313: recalculate normalized labels during upgrade

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
9 years agoLP#1155313: pin upgrade script to 0914
Galen Charlton [Mon, 2 Mar 2015 14:05:52 +0000 (14:05 +0000)]
LP#1155313: pin upgrade script to 0914

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
9 years agoLP#1155313: fix copy-and-paste-o in test case
Galen Charlton [Mon, 2 Mar 2015 14:02:23 +0000 (14:02 +0000)]
LP#1155313: fix copy-and-paste-o in test case

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
9 years agoLP#1155313: upgrade script and pgTAP tests for monograph_part label normalization fix
Dan Pearl [Mon, 5 Jan 2015 18:28:13 +0000 (13:28 -0500)]
LP#1155313: upgrade script and pgTAP tests for monograph_part label normalization fix

Signed-off-by: Daniel Pearl <dpearl@cwmars.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
9 years agoLP#1155313: Repair generation of label_sortkey for monograph_part entries
Dan Pearl [Fri, 15 Mar 2013 19:04:37 +0000 (15:04 -0400)]
LP#1155313: Repair generation of label_sortkey for monograph_part entries

The evergreen.lpad_number_substrings function attempts to codify numeric
fields within labels.  It does this by finding the strings, padding them
to a given size, and replacing them in the source string.  For instance:
       3 => 0000000003
    15.4 => 00000000150000000004

The algorithm was fooled by repeated characters, like in 15.1:
    15.1 => 00000000000000000150000000001  INCORRECT

This change will result in the correct value.

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
9 years agoLP#1395842: fix labels for A/T environment and parameter ID fields
Josh Stompro [Fri, 16 Jan 2015 02:03:55 +0000 (20:03 -0600)]
LP#1395842: fix labels for A/T environment and parameter ID fields

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
9 years agoLP#1426133: followup fix seed data sequence
Ben Shum [Sat, 28 Feb 2015 17:24:31 +0000 (12:24 -0500)]
LP#1426133: followup fix seed data sequence

Signed-off-by: Ben Shum <bshum@biblio.org>
9 years agoLP#1425967: look for Business::CreditCard in settings-tester.pl
Jason Etheridge [Thu, 26 Feb 2015 14:26:47 +0000 (09:26 -0500)]
LP#1425967: look for Business::CreditCard in settings-tester.pl

and not Business::CreditCard::Object

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
9 years agoLP#1426133: Stamping upgrade script for set merge_profile_id_seq
Ben Shum [Fri, 27 Feb 2015 15:25:48 +0000 (10:25 -0500)]
LP#1426133: Stamping upgrade script for set merge_profile_id_seq

Signed-off-by: Ben Shum <bshum@biblio.org>
9 years agoLP#1426133: Set merge_profile_id_seq explicitly
Remington Steed [Thu, 26 Feb 2015 21:21:48 +0000 (16:21 -0500)]
LP#1426133: Set merge_profile_id_seq explicitly

Many database tables need to explicitly set the id sequence (often to
100) to provide room for stock data with static ids. This commit does so
for vandelay.merge_profile, and also updates the ids of any non-stock
profiles (both in the merge_profile table and in related settings).

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>
9 years agoLP#1425191 Restore summarization of serial units
Dan Wells [Thu, 12 Feb 2015 18:08:52 +0000 (13:08 -0500)]
LP#1425191 Restore summarization of serial units

In a previous commit, code was added for force summaries to be limited
to a certain type (to prevent cross type contamination of summaries).
This had the negative side-effect of preventing summaries on units, as
the units were not requesting a 'type' for their summary.

While we could force the unit code to send a type, it seemed generally
more flexible to restore the removed support for returning all summary
information in the absense of a requested type.  This could lead to
cross-type summaries for units, but that is a larger issue altogether
(i.e. how we can properly support cross-type units at all).

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
9 years agolp1373203: Allow users to escape metarecord holds
Kathy Lussier [Sat, 21 Feb 2015 14:50:13 +0000 (09:50 -0500)]
lp1373203: Allow users to escape metarecord holds

Provides a means for users to escape a metarecord hold if they accidentally
clicked the Advanced Hold Options link. A Basic Hold Options link will be
provided to allow the user to return to a title hold. If the hold starts as a
metarecord hold, the basic hold options link won't display since we don't know
which bib the patron wants.

Also fixes an issue where the hold cancel button always returned the user to
the previous screen. We will instead utilize the existing hold_source_page
parameter to identify the return page.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
9 years agoLP#1402797 Open item status in a new tab
Mike Rylander [Fri, 20 Feb 2015 16:59:23 +0000 (11:59 -0500)]
LP#1402797 Open item status in a new tab

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Allow (and use) a default cancel cause for holds by passing around a scala...
Mike Rylander [Fri, 20 Feb 2015 15:59:17 +0000 (10:59 -0500)]
LP#1402797 Allow (and use) a default cancel cause for holds by passing around a scalar instead of an object

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Do not allow workstations as org units that cannot have user
Mike Rylander [Thu, 19 Feb 2015 20:54:38 +0000 (15:54 -0500)]
LP#1402797 Do not allow workstations as org units that cannot have user

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Test value directly, and invert test for the a-disabled test
Mike Rylander [Tue, 17 Feb 2015 22:14:23 +0000 (17:14 -0500)]
LP#1402797 Test value directly, and invert test for the a-disabled test

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Move aDisabled from patron/app to services/ui so it can be used everywhere
Mike Rylander [Tue, 17 Feb 2015 22:13:32 +0000 (17:13 -0500)]
LP#1402797 Move aDisabled from patron/app to services/ui so it can be used everywhere

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Attempt to implement disabling tests for orgs in the magic dropdown
Mike Rylander [Sun, 1 Feb 2015 22:05:29 +0000 (17:05 -0500)]
LP#1402797 Attempt to implement disabling tests for orgs in the magic dropdown

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 clean up action rows and styling
Mike Rylander [Tue, 17 Feb 2015 21:25:30 +0000 (16:25 -0500)]
LP#1402797 clean up action rows and styling

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Add (stub) fast item add, and (working) bib source selection
Mike Rylander [Tue, 17 Feb 2015 18:30:57 +0000 (13:30 -0500)]
LP#1402797 Add (stub) fast item add, and (working) bib source selection

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Mangle the 005 when saving, and support any record_entry type
Mike Rylander [Mon, 16 Feb 2015 21:52:59 +0000 (16:52 -0500)]
LP#1402797 Mangle the 005 when saving, and support any record_entry type

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 handle up/down arrow (navigate) and ctrl + up/down (duplicate field)
Mike Rylander [Mon, 16 Feb 2015 21:12:24 +0000 (16:12 -0500)]
LP#1402797 handle up/down arrow (navigate) and ctrl + up/down (duplicate field)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 canonicalize field.postion after inserting or removing fields
Mike Rylander [Mon, 16 Feb 2015 21:11:54 +0000 (16:11 -0500)]
LP#1402797 canonicalize field.postion after inserting or removing fields

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 insert 00[678], building 008 from record data
Mike Rylander [Mon, 16 Feb 2015 17:08:40 +0000 (12:08 -0500)]
LP#1402797 insert 00[678], building 008 from record data

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Improve styling; marcrecord bug fixes; implement field/subfield insert...
Mike Rylander [Mon, 16 Feb 2015 01:06:50 +0000 (20:06 -0500)]
LP#1402797 Improve styling; marcrecord bug fixes; implement field/subfield insert and remove

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Start styling marc editor via css
Mike Rylander [Fri, 13 Feb 2015 23:13:44 +0000 (18:13 -0500)]
LP#1402797 Start styling marc editor via css

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Code layout cleanup
Mike Rylander [Fri, 13 Feb 2015 18:17:32 +0000 (13:17 -0500)]
LP#1402797 Code layout cleanup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Should prompt when there is unsaved data, but does not. More to do...
Mike Rylander [Thu, 12 Feb 2015 00:47:59 +0000 (19:47 -0500)]
LP#1402797 Should prompt when there is unsaved data, but does not.  More to do...

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Global undo/redo stack stack
Mike Rylander [Thu, 12 Feb 2015 00:23:32 +0000 (19:23 -0500)]
LP#1402797 Global undo/redo stack stack

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Make grid action context menu safe for multiple grids per page
Mike Rylander [Wed, 11 Feb 2015 13:49:12 +0000 (08:49 -0500)]
LP#1402797 Make grid action context menu safe for multiple grids per page

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Allow forgive-fines on forced checkout
Mike Rylander [Tue, 10 Feb 2015 17:24:14 +0000 (12:24 -0500)]
LP#1402797 Allow forgive-fines on forced checkout

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 If no row is currently selected on right-click, select the clicked row
Mike Rylander [Tue, 10 Feb 2015 15:48:11 +0000 (10:48 -0500)]
LP#1402797 If no row is currently selected on right-click, select the clicked row

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Make grid context menu safer and more state-aware
Mike Rylander [Mon, 9 Feb 2015 22:19:34 +0000 (17:19 -0500)]
LP#1402797 Make grid context menu safer and more state-aware

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Typo
Mike Rylander [Mon, 9 Feb 2015 22:09:35 +0000 (17:09 -0500)]
LP#1402797 Typo

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 use ng-options so that the default option works
Mike Rylander [Mon, 9 Feb 2015 21:58:00 +0000 (16:58 -0500)]
LP#1402797 use ng-options so that the default option works

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Attach the context menu to the body for proper coordinate mapping
Mike Rylander [Mon, 9 Feb 2015 21:42:47 +0000 (16:42 -0500)]
LP#1402797 Attach the context menu to the body for proper coordinate mapping

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Grid row context menu from Actions dropdown
Mike Rylander [Mon, 9 Feb 2015 21:33:47 +0000 (16:33 -0500)]
LP#1402797 Grid row context menu from Actions dropdown

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 add a Retrieve All These Patrons button
Jason Etheridge [Mon, 9 Feb 2015 20:44:10 +0000 (15:44 -0500)]
LP#1402797 add a Retrieve All These Patrons button

in the Item Status -> Circ History List

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Add user-related fields to some hold interfaces
Mike Rylander [Mon, 9 Feb 2015 19:54:53 +0000 (14:54 -0500)]
LP#1402797 Add user-related fields to some hold interfaces

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Add missing columns to patron search result grid
Mike Rylander [Mon, 9 Feb 2015 18:24:11 +0000 (13:24 -0500)]
LP#1402797 Add missing columns to patron search result grid

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Remove Uncancel Hold action where not useful
Mike Rylander [Mon, 9 Feb 2015 18:06:10 +0000 (13:06 -0500)]
LP#1402797 Remove Uncancel Hold action where not useful

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Hide cancel/uncancel as appropriate
Mike Rylander [Mon, 9 Feb 2015 17:51:01 +0000 (12:51 -0500)]
LP#1402797 Hide cancel/uncancel as appropriate

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Teach the autogrid how to hide actions
Mike Rylander [Mon, 9 Feb 2015 17:50:44 +0000 (12:50 -0500)]
LP#1402797 Teach the autogrid how to hide actions

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 remove Group Actions from Group Member Details
Jason Etheridge [Fri, 6 Feb 2015 22:25:10 +0000 (17:25 -0500)]
LP#1402797 remove Group Actions from Group Member Details

place "Move Another Patron To This Group" under Actions

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 change Retrieve Selected Patron
Jason Etheridge [Fri, 6 Feb 2015 21:33:51 +0000 (16:33 -0500)]
LP#1402797 change Retrieve Selected Patron

to Retrieve Selected Patrons for Other -> Group Member Details interface

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Context menu infrastructure
Mike Rylander [Thu, 5 Feb 2015 21:21:20 +0000 (16:21 -0500)]
LP#1402797 Context menu infrastructure

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Initial MARC editor -- load, edit content, save, see the Breaker version
Mike Rylander [Thu, 5 Feb 2015 03:46:20 +0000 (22:46 -0500)]
LP#1402797 Initial MARC editor -- load, edit content, save, see the Breaker version

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Use jquery xml parser, and appendChild()
Mike Rylander [Mon, 2 Feb 2015 22:07:24 +0000 (17:07 -0500)]
LP#1402797 Use jquery xml parser, and appendChild()

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Initial commit and sourcing of the jquery-ified marcrecord.js module
Mike Rylander [Mon, 2 Feb 2015 21:50:28 +0000 (16:50 -0500)]
LP#1402797 Initial commit and sourcing of the jquery-ified marcrecord.js module

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Remove DOB valid test for now; Change alert valid test (expressions must...
Mike Rylander [Mon, 2 Feb 2015 19:55:17 +0000 (14:55 -0500)]
LP#1402797 Remove DOB valid test for now; Change alert valid test (expressions must be simple)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Add Item Status to the circ menu
Mike Rylander [Mon, 2 Feb 2015 18:43:48 +0000 (13:43 -0500)]
LP#1402797 Add Item Status to the circ menu

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Make the save box smaller to help avoid overlapping the input form
Mike Rylander [Mon, 2 Feb 2015 18:20:55 +0000 (13:20 -0500)]
LP#1402797 Make the save box smaller to help avoid overlapping the input form

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Add DOB and address validity styling
Mike Rylander [Mon, 2 Feb 2015 18:05:56 +0000 (13:05 -0500)]
LP#1402797 Add DOB and address validity styling

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Add DOB to patron summary
Mike Rylander [Mon, 2 Feb 2015 17:31:46 +0000 (12:31 -0500)]
LP#1402797 Add DOB to patron summary

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Profile Group no longer causes second search to fail, but it does not...
Mike Rylander [Mon, 2 Feb 2015 17:06:04 +0000 (12:06 -0500)]
LP#1402797 Profile Group no longer causes second search to fail, but it does not yet propagate

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Add "forget" mode for grid limit; Use in hold clearing mode
Mike Rylander [Mon, 2 Feb 2015 15:15:10 +0000 (10:15 -0500)]
LP#1402797 Add "forget" mode for grid limit; Use in hold clearing mode

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Pass the top-level class so that the proper tooltip can be generated
Mike Rylander [Mon, 2 Feb 2015 15:14:36 +0000 (10:14 -0500)]
LP#1402797 Pass the top-level class so that the proper tooltip can be generated

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Focus the Print button
Mike Rylander [Sun, 1 Feb 2015 21:07:10 +0000 (16:07 -0500)]
LP#1402797 Focus the Print button

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Make Strict Barcode checkbox sticky upon actual use
Mike Rylander [Sun, 1 Feb 2015 20:55:39 +0000 (15:55 -0500)]
LP#1402797 Make Strict Barcode checkbox sticky upon actual use

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Pre-force tab change. There have been reports of the tab not changing...
Mike Rylander [Sun, 1 Feb 2015 20:32:53 +0000 (15:32 -0500)]
LP#1402797 Pre-force tab change.  There have been reports of the tab not changing on automatic redirect.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Add Cancel Cause column to hold grid and flesh that object
Mike Rylander [Sun, 1 Feb 2015 20:06:05 +0000 (15:06 -0500)]
LP#1402797 Add Cancel Cause column to hold grid and flesh that object

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Default to staff-forced cancel cause
Mike Rylander [Sun, 1 Feb 2015 19:46:00 +0000 (14:46 -0500)]
LP#1402797 Default to staff-forced cancel cause

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Add Circulation Modifier to the column list (must add manually, as it...
Mike Rylander [Sun, 1 Feb 2015 19:12:45 +0000 (14:12 -0500)]
LP#1402797 Add Circulation Modifier to the column list (must add manually, as it is a link-type field)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Make warnings more prominent, as in the XUL client
Mike Rylander [Sat, 31 Jan 2015 19:51:21 +0000 (14:51 -0500)]
LP#1402797 Make warnings more prominent, as in the XUL client

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Style search and clear buttons like action buttons to differentiate from...
Mike Rylander [Fri, 30 Jan 2015 22:33:08 +0000 (17:33 -0500)]
LP#1402797 Style search and clear buttons like action buttons to differentiate from text boxes

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Protect against chrome autofill as best we can in Verfiy Credentials
Mike Rylander [Fri, 30 Jan 2015 22:16:09 +0000 (17:16 -0500)]
LP#1402797 Protect against chrome autofill as best we can in Verfiy Credentials

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Where possible, handle all circ events, not just the first one in the...
Mike Rylander [Fri, 30 Jan 2015 21:56:56 +0000 (16:56 -0500)]
LP#1402797 Where possible, handle all circ events, not just the first one in the stack

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Change Thaw Date column label to Activation Date
Mike Rylander [Fri, 30 Jan 2015 20:47:53 +0000 (15:47 -0500)]
LP#1402797 Change Thaw Date column label to Activation Date

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Fixed typo stopping patron search expand/collapse stickiness
Mike Rylander [Fri, 30 Jan 2015 20:38:27 +0000 (15:38 -0500)]
LP#1402797 Fixed typo stopping patron search expand/collapse stickiness

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Renew instead of in/out when the item is already checked out to the user
Mike Rylander [Fri, 30 Jan 2015 19:17:45 +0000 (14:17 -0500)]
LP#1402797 Renew instead of in/out when the item is already checked out to the user

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Enter sumbits the prompt dialog
Mike Rylander [Fri, 30 Jan 2015 18:47:18 +0000 (13:47 -0500)]
LP#1402797 Enter sumbits the prompt dialog

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Just hide the statusbar by default. It gets in the way.
Mike Rylander [Fri, 30 Jan 2015 18:33:10 +0000 (13:33 -0500)]
LP#1402797 Just hide the statusbar by default. It gets in the way.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Be explicit about which direction users are moving between groups, and...
Mike Rylander [Fri, 30 Jan 2015 18:05:26 +0000 (13:05 -0500)]
LP#1402797 Be explicit about which direction users are moving between groups, and provide an informational message when none are selected but should be

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Hold Shefl: Use max_chunk_size to pass updates in a timely fashion; Notify...
Mike Rylander [Fri, 30 Jan 2015 16:43:46 +0000 (11:43 -0500)]
LP#1402797 Hold Shefl: Use max_chunk_size to pass updates in a timely fashion; Notify on the correct array to allow paging back to work

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Respect ui.staff.require_initials.patron_standing_penalty OU setting
Mike Rylander [Tue, 27 Jan 2015 23:40:18 +0000 (18:40 -0500)]
LP#1402797 Respect ui.staff.require_initials.patron_standing_penalty OU setting

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Require, and use, initials on penalty creation
Mike Rylander [Tue, 27 Jan 2015 17:33:13 +0000 (12:33 -0500)]
LP#1402797 Require, and use, initials on penalty creation

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 add "Delete Selected Records From Catalog" action to record buckets
Galen Charlton [Mon, 26 Jan 2015 22:30:03 +0000 (22:30 +0000)]
LP#1402797 add "Delete Selected Records From Catalog" action to record buckets

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 catch and allow overriding of COPY_DELETE_WARNING and TITLE_LAST_COPY
Galen Charlton [Mon, 26 Jan 2015 20:37:12 +0000 (20:37 +0000)]
LP#1402797 catch and allow overriding of COPY_DELETE_WARNING and TITLE_LAST_COPY

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 make it "delete selected" rather than "delete all"
Galen Charlton [Mon, 26 Jan 2015 19:54:41 +0000 (19:54 +0000)]
LP#1402797 make it "delete selected" rather than "delete all"

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Implement "set bottom view as default"
Mike Rylander [Tue, 20 Jan 2015 02:48:10 +0000 (21:48 -0500)]
LP#1402797 Implement "set bottom view as default"

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Use target="_self" to force a top-level page load
Mike Rylander [Mon, 19 Jan 2015 22:22:20 +0000 (17:22 -0500)]
LP#1402797 Use target="_self" to force a top-level page load

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Use the staff-wrapped catalog when jumping to a bib record
Mike Rylander [Mon, 19 Jan 2015 22:15:53 +0000 (17:15 -0500)]
LP#1402797 Use the staff-wrapped catalog when jumping to a bib record

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 For any grid with a persistKey, store the last selected row count as a...
Mike Rylander [Mon, 19 Jan 2015 22:05:12 +0000 (17:05 -0500)]
LP#1402797 For any grid with a persistKey, store the last selected row count as a localStorage value

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Add record summary bar to the catalog display, and hide Actions for this...
Mike Rylander [Mon, 19 Jan 2015 20:17:37 +0000 (15:17 -0500)]
LP#1402797 Add record summary bar to the catalog display, and hide Actions for this Record until usable

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 implement "delete all from catalog" for copy buckets
Galen Charlton [Fri, 16 Jan 2015 22:12:01 +0000 (22:12 +0000)]
LP#1402797 implement "delete all from catalog" for copy buckets

TODO: at present, this is pretty optimistic

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 webstaff: add basic copy bucket management functionality
Galen Charlton [Thu, 15 Jan 2015 22:12:49 +0000 (22:12 +0000)]
LP#1402797 webstaff: add basic copy bucket management functionality

This adds an interface for managing copy buckets, including
adding and removing them, adding items to a pending list and to
copy buckets by barcode, and removing items from a bucket.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 make clearing the record bucket pending list action functional
Galen Charlton [Thu, 15 Jan 2015 21:52:00 +0000 (21:52 +0000)]
LP#1402797 make clearing the record bucket pending list action functional

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 implement Show All in Catalog action for record buckets
Galen Charlton [Thu, 15 Jan 2015 16:16:03 +0000 (16:16 +0000)]
LP#1402797 implement Show All in Catalog action for record buckets

Note that this will typically require the brower's pop-up
blocker to be disabled for the webstaff site.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 use staff search for record bucket queries
Galen Charlton [Thu, 15 Jan 2015 15:01:02 +0000 (15:01 +0000)]
LP#1402797 use staff search for record bucket queries

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Improve styling of retrieve-by pages
Mike Rylander [Thu, 15 Jan 2015 14:11:26 +0000 (09:11 -0500)]
LP#1402797 Improve styling of retrieve-by pages

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Implement retrieve record by id and tcn
Mike Rylander [Wed, 14 Jan 2015 22:20:23 +0000 (17:20 -0500)]
LP#1402797 Implement retrieve record by id and tcn

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Use egCore.env.basePath to construct the URL for last record
Mike Rylander [Wed, 14 Jan 2015 20:27:15 +0000 (15:27 -0500)]
LP#1402797 Use egCore.env.basePath to construct the URL for last record

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Implement "Retrieve Last Bib Record" using localStorage record cache
Mike Rylander [Wed, 14 Jan 2015 20:05:14 +0000 (15:05 -0500)]
LP#1402797 Implement "Retrieve Last Bib Record" using localStorage record cache

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#1402797 Save the record we land on from within the staff client as the "last recor...
Mike Rylander [Wed, 14 Jan 2015 19:15:25 +0000 (14:15 -0500)]
LP#1402797 Save the record we land on from within the staff client as the "last record retrieved"

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
9 years agoLP#957466: Fix invalid MARCXML syntax
Remington Steed [Tue, 24 Feb 2015 18:25:16 +0000 (13:25 -0500)]
LP#957466: Fix invalid MARCXML syntax

This commit fixes some invalid MARCXML syntax, and also makes the XPath
query more general to allow for namespaces on the tags.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
9 years agoLP#957466: Added pgTAP test for db function change
Remington Steed [Thu, 19 Feb 2015 15:03:18 +0000 (10:03 -0500)]
LP#957466: Added pgTAP test for db function change

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
9 years agoLP#957466: A simpler version of set_marc_905u.
Jason Stephenson [Wed, 18 Feb 2015 16:34:53 +0000 (11:34 -0500)]
LP#957466: A simpler version of set_marc_905u.

This version only adds a 905$u if none already exist in the document. It
does so by creating a new 905 tag with subfield u. It does not add on
to any possibly existing 905 tag that does not have a subfield u.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
9 years agoLP#1282286 Tab is NULL error
Liam Whalen [Sat, 14 Feb 2015 08:25:05 +0000 (00:25 -0800)]
LP#1282286 Tab is NULL error

When editing a MARC record in Vandelay or MFHD holdings in a popup XUL
WIndow, a tab is NULL error is presented to the user.

This happens because an undefined variable is being used when it should
not be.  This code adds a check for that variable to ensure it exists
before using it.  The variable used only matters in cases where tabs are
present, which is not the case with pop up MARC edit windows, so
ignoring the variable in these cases is fine.

Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
9 years agoLP#1154579: explicitly alert if copy location failed to be deleted
Galen Charlton [Mon, 23 Feb 2015 20:25:02 +0000 (20:25 +0000)]
LP#1154579: explicitly alert if copy location failed to be deleted

This patch adds an alert if the act of deleting a copy
location in the staff interface fails -- which would
most commonly happen if there are still active items
attached to the location to be deleted.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
9 years agoLP#1423813: adjust some queries to account for deleted copy locations
Galen Charlton [Mon, 23 Feb 2015 21:03:41 +0000 (21:03 +0000)]
LP#1423813: adjust some queries to account for deleted copy locations

This patch adjusts some queries so that if a copy location
is deleted, any undeleted items that are attached to it
are considered deleted for the purpose of generating
OPAC item lists and seeing if items are potentially available
to fill hold request.

It should be noted that if a copy location is marked as
logically deleted, there shouldn't be any undeleted
copies associated with it.  However, as this condition is not
presently enforced by a database contraint, adding additional
checks on acpl.deleted provides some additional defense.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>