working/Evergreen.git
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 years agoLP#904581: when calculating hold status, be more careful about fetching transits
Galen Charlton [Thu, 5 Feb 2015 16:52:36 +0000 (16:52 +0000)]
LP#904581: when calculating hold status, be more careful about fetching transits

This patch fixes a problem where if a hold meets the following
criteria, an "Invalid date format: at /usr/share/perl5/Error.pm"
error can be thrown when fetching its details:

- the hold has a captured item
- the captured item has status 8 (on hold shelf)
- there is another item that is currently in transit to fill the hold
- the pickup library (or one of its ancestors) has the
  circ.hold_shelf_status_delay library setting set.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoRevert "LP#1419813 Fix default joins for config.rule_age_hold_protection."
Galen Charlton [Mon, 23 Feb 2015 19:11:24 +0000 (19:11 +0000)]
Revert "LP#1419813 Fix default joins for config.rule_age_hold_protection."

This reverts commit bb98f1885d0353cdde11e9e2631ecb553a7d685a.

5 years agoLP1423922: Quick staff option to place another hold
Kathy Lussier [Fri, 20 Feb 2015 14:03:13 +0000 (09:03 -0500)]
LP1423922: Quick staff option to place another hold

When a hold is successful in the staff client, provide a link to place another
hold on the same title. This is a time savings for staff when placing holds
for multiple patrons on a newly-added title or when doing book club requests.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#121054: Stamping upgrade script for asset.copy_location-delete-rule
Ben Shum [Sat, 21 Feb 2015 07:25:36 +0000 (02:25 -0500)]
LP#121054: Stamping upgrade script for asset.copy_location-delete-rule

Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#121054: Adding release notes entry for copy location delete flag
Kathy Lussier [Thu, 19 Feb 2015 11:42:02 +0000 (06:42 -0500)]
LP#121054: Adding release notes entry for copy location delete flag

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#121054: Add Deleted Flag to asset.copy_location
Jason Boyer [Thu, 25 Sep 2014 14:53:11 +0000 (10:53 -0400)]
LP#121054: Add Deleted Flag to asset.copy_location

Signed-off-by: Jason Boyer <JBoyer@library.in.gov>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1423585: add release notes entry
Galen Charlton [Sat, 21 Feb 2015 02:39:40 +0000 (02:39 +0000)]
LP#1423585: add release notes entry

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
5 years agoLP#1423585 Add Open Graph Protocol markup to TPAC
Dan Scott [Thu, 19 Feb 2015 16:08:32 +0000 (11:08 -0500)]
LP#1423585 Add Open Graph Protocol markup to TPAC

Very simplistic markup for now, just the basic http://ogp.me
requirements of title, url, image, and type (and we're reusing
the schema.org type in the short term).

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>