working/Evergreen.git
10 years agoAttempt to implement disabling tests for orgs in the magic dropdown collab/miker/org-disabling-attempt
Mike Rylander [Sun, 1 Feb 2015 22:05:29 +0000 (17:05 -0500)]
Attempt to implement disabling tests for orgs in the magic dropdown

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoFocus the Print button
Mike Rylander [Sun, 1 Feb 2015 21:07:10 +0000 (16:07 -0500)]
Focus the Print button

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoMake Strict Barcode checkbox sticky upon actual use
Mike Rylander [Sun, 1 Feb 2015 20:55:39 +0000 (15:55 -0500)]
Make Strict Barcode checkbox sticky upon actual use

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

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

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoDefault to staff-forced cancel cause
Mike Rylander [Sun, 1 Feb 2015 19:46:00 +0000 (14:46 -0500)]
Default to staff-forced cancel cause

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoAdd Circulation Modifier to the column list (must add manually, as it is a link-type...
Mike Rylander [Sun, 1 Feb 2015 19:12:45 +0000 (14:12 -0500)]
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>
10 years agoMake warnings more prominent, as in the XUL client
Mike Rylander [Sat, 31 Jan 2015 19:51:21 +0000 (14:51 -0500)]
Make warnings more prominent, as in the XUL client

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

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

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

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoChange Thaw Date column label to Activation Date
Mike Rylander [Fri, 30 Jan 2015 20:47:53 +0000 (15:47 -0500)]
Change Thaw Date column label to Activation Date

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

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoRenew 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)]
Renew instead of in/out when the item is already checked out to the user

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoEnter sumbits the prompt dialog
Mike Rylander [Fri, 30 Jan 2015 18:47:18 +0000 (13:47 -0500)]
Enter sumbits the prompt dialog

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

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoBe explicit about which direction users are moving between groups, and provide an...
Mike Rylander [Fri, 30 Jan 2015 18:05:26 +0000 (13:05 -0500)]
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>
10 years agoCheck for a copy before trying to use it -- fixes non-cat checkout failure
Mike Rylander [Fri, 30 Jan 2015 18:04:42 +0000 (13:04 -0500)]
Check for a copy before trying to use it -- fixes non-cat checkout failure

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoHold Shefl: Use max_chunk_size to pass updates in a timely fashion; Notify on the...
Mike Rylander [Fri, 30 Jan 2015 16:43:46 +0000 (11:43 -0500)]
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>
10 years agoRespect ui.staff.require_initials.patron_standing_penalty OU setting
Mike Rylander [Tue, 27 Jan 2015 23:40:18 +0000 (18:40 -0500)]
Respect ui.staff.require_initials.patron_standing_penalty OU setting

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoRequire, and use, initials on penalty creation
Mike Rylander [Tue, 27 Jan 2015 17:33:13 +0000 (12:33 -0500)]
Require, and use, initials on penalty creation

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

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agocatch and allow overriding of COPY_DELETE_WARNING and TITLE_LAST_COPY
Galen Charlton [Mon, 26 Jan 2015 20:37:12 +0000 (20:37 +0000)]
catch and allow overriding of COPY_DELETE_WARNING and TITLE_LAST_COPY

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agomake it "delete selected" rather than "delete all"
Galen Charlton [Mon, 26 Jan 2015 19:54:41 +0000 (19:54 +0000)]
make it "delete selected" rather than "delete all"

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

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

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

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

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

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

TODO: at present, this is pretty optimistic

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agowebstaff: add basic copy bucket management functionality
Galen Charlton [Thu, 15 Jan 2015 22:12:49 +0000 (22:12 +0000)]
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>
10 years agomake clearing the record bucket pending list action functional
Galen Charlton [Thu, 15 Jan 2015 21:52:00 +0000 (21:52 +0000)]
make clearing the record bucket pending list action functional

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agoimplement Show All in Catalog action for record buckets
Galen Charlton [Thu, 15 Jan 2015 16:16:03 +0000 (16:16 +0000)]
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>
10 years agouse staff search for record bucket queries
Galen Charlton [Thu, 15 Jan 2015 15:01:02 +0000 (15:01 +0000)]
use staff search for record bucket queries

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agoImprove styling of retrieve-by pages
Mike Rylander [Thu, 15 Jan 2015 14:11:26 +0000 (09:11 -0500)]
Improve styling of retrieve-by pages

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoImplement retrieve record by id and tcn
Mike Rylander [Wed, 14 Jan 2015 22:20:23 +0000 (17:20 -0500)]
Implement retrieve record by id and tcn

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

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

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

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoLP#1402797 browser client noncat circ display
Bill Erickson [Wed, 31 Dec 2014 21:05:53 +0000 (16:05 -0500)]
LP#1402797 browser client noncat circ display

Adds a new tab to the patron items out page for Non-Cataloged
Circulations.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoLP#1402797 browser client noncat counts in patron summary
Bill Erickson [Wed, 31 Dec 2014 21:00:06 +0000 (16:00 -0500)]
LP#1402797 browser client noncat counts in patron summary

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoLP#1402797 browser client interval parser
Bill Erickson [Wed, 31 Dec 2014 20:28:48 +0000 (15:28 -0500)]
LP#1402797 browser client interval parser

Adds a new service on the core module for adding date handling
utilities.  Included in this commit is a new function:

egDate.intervalToSeconds(interval);

Includes Gruntfile additions and unit tests.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoLP#1402797 PCRUD access for noncat circs in IDL
Bill Erickson [Wed, 31 Dec 2014 20:26:03 +0000 (15:26 -0500)]
LP#1402797 PCRUD access for noncat circs in IDL

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoLP1402797 patron search form focus repairs cont.
Bill Erickson [Fri, 2 Jan 2015 16:21:43 +0000 (11:21 -0500)]
LP1402797 patron search form focus repairs cont.

Building on Mike's original work, use Angular ng-mouseover and the
Angular $document built-in.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agouse null as default payment amount
Galen Charlton [Fri, 26 Dec 2014 22:46:31 +0000 (22:46 +0000)]
use null as default payment amount

This means that operator does not have to select the
previous default of "0" in the control to clear it out.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agowebby: catalog record -> view holds org filter repair
Bill Erickson [Mon, 15 Dec 2014 18:47:51 +0000 (13:47 -0500)]
webby: catalog record -> view holds org filter repair

Selecting a pickup library from the filter in the Catalog -> View Holds
UI shows holds for the selected org unit and descendant org units.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoRepair browser client dropdown buttons - #2
Bill Erickson [Mon, 15 Dec 2014 18:46:14 +0000 (13:46 -0500)]
Repair browser client dropdown buttons - #2

Repairs egOrgSelector.

Angular-ui-bootstrap as of version ~0.11.2 does not want bare
"dropdown-toggle" attributes within action link tags.  When present,
they prevent the dropdown button from opening.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoAllow, and use, disabling of button-ish anchors
Mike Rylander [Wed, 17 Dec 2014 16:31:24 +0000 (11:31 -0500)]
Allow, and use, disabling of button-ish anchors

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoOnly enable the Apply Payment button when a bill is selected
Mike Rylander [Wed, 17 Dec 2014 15:57:28 +0000 (10:57 -0500)]
Only enable the Apply Payment button when a bill is selected

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agowebby: checkin fine tally patron bills link
Bill Erickson [Fri, 12 Dec 2014 22:27:06 +0000 (17:27 -0500)]
webby: checkin fine tally patron bills link

Checkin fine tally display now acts as a link which opens a new tab to
the patron bills page for the current checkin patron when fines exist.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoActually do search button, too
Mike Rylander [Fri, 12 Dec 2014 21:43:53 +0000 (16:43 -0500)]
Actually do search button, too

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoFocus patron search field on search, expand, clear
Mike Rylander [Fri, 12 Dec 2014 21:41:24 +0000 (16:41 -0500)]
Focus patron search field on search, expand, clear

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoUse .finally() instead of hash-y syntax~
Mike Rylander [Fri, 12 Dec 2014 19:02:29 +0000 (14:02 -0500)]
Use .finally() instead of hash-y syntax~

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoApply focus in the .finally() in case there was a popup
Mike Rylander [Fri, 12 Dec 2014 19:01:59 +0000 (14:01 -0500)]
Apply focus in the .finally() in case there was a popup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agofix checkout focus after patron load
Jason Etheridge [Fri, 5 Dec 2014 21:59:30 +0000 (16:59 -0500)]
fix checkout focus after patron load

Thanks to berick and jcamins, and to eeevil for actually nailing the solution

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
11 years agoRepair browser client dropdown buttons
Bill Erickson [Thu, 4 Dec 2014 22:22:46 +0000 (17:22 -0500)]
Repair browser client dropdown buttons

Angular-ui-bootstrap as of version ~0.11.2 does not want bare
"dropdown-toggle" attributes within action link tags.  When present,
they prevent the dropdown button from opening.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
11 years agowebby: repair Hatch type=text printing
Bill Erickson [Wed, 3 Dec 2014 19:57:54 +0000 (14:57 -0500)]
webby: repair Hatch type=text printing

When printing text, Hatch was receiving no print content due to some
code refactoring.  Repaired.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
11 years agoAvoid org tree retrieval race condition on patron app
Bill Erickson [Wed, 3 Dec 2014 17:48:12 +0000 (12:48 -0500)]
Avoid org tree retrieval race condition on patron app

Avoid calling egOrg.ancestors() during startup, because the org unit
tree is not guarantee to be available until startup has completed.  This
was causing an occasional JS excpetion in the patron app pages, which
prevented the pages from loading.

The error in question:

 TypeError: Cannot read property 'map' of undefined
    at Object.service.get (https://host/js/ui/default/staff/services/org.js:21:25)
    at Object.service.ancestors (https://host/js/ui/default/staff/services/org.js:34:28)
    at Object.egCore.env.classLoaders.actsc (https://host/js/ui/default/staff/circ/patron/app.js:41:37)
    at https://host/js/ui/default/staff/services/env.js:77:55
    at Object.r [as forEach] (https://host/js/ui/default/staff/build/js/angular.min.js:7:290)
    at Object.service.load (https://host/js/ui/default/staff/services/env.js:76:17)
    at https://host/js/ui/default/staff/services/startup.js:64:23
    at J (https://host/js/ui/default/staff/build/js/angular.min.js:101:96)
    at https://host/js/ui/default/staff/build/js/angular.min.js:102:259
    at h.$eval (https://host/js/ui/default/staff/build/js/angular.min.js:113:32)

Signed-off-by: Bill Erickson <berickxx@gmail.com>
11 years agoAdjust timestamp with local timezone before truncating to the date
Mike Rylander [Wed, 3 Dec 2014 21:40:50 +0000 (16:40 -0500)]
Adjust timestamp with local timezone before truncating to the date

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd usr and requestor columns to the hold pull list
Mike Rylander [Wed, 3 Dec 2014 15:54:34 +0000 (10:54 -0500)]
Add usr and requestor columns to the hold pull list

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoBegin teaching grid about class hierarchies for labels
Mike Rylander [Wed, 3 Dec 2014 15:54:13 +0000 (10:54 -0500)]
Begin teaching grid about class hierarchies for labels

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoFetch old circ when the user is not the same (API misuse)
Mike Rylander [Wed, 3 Dec 2014 15:53:35 +0000 (10:53 -0500)]
Fetch old circ when the user is not the same (API misuse)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoBrowser client checkout 'Done' clears current user
Bill Erickson [Tue, 2 Dec 2014 22:28:01 +0000 (17:28 -0500)]
Browser client checkout 'Done' clears current user

Clicking the 'Done' button after checkout resets the patron side bar and
action tabs to completely hide the previous patron's data.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoRemove useless options in record bucket export
Mike Rylander [Wed, 26 Nov 2014 15:48:07 +0000 (10:48 -0500)]
Remove useless options in record bucket export

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAllow the status bar to be hidden
Mike Rylander [Wed, 12 Nov 2014 20:00:07 +0000 (15:00 -0500)]
Allow the status bar to be hidden

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoSeparate stock and custom penalty type models
Mike Rylander [Wed, 12 Nov 2014 15:46:43 +0000 (10:46 -0500)]
Separate stock and custom penalty type models

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoSupply top-level method for uncanceling holds
Mike Rylander [Tue, 11 Nov 2014 18:26:21 +0000 (13:26 -0500)]
Supply top-level method for uncanceling holds

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoFix boolean assumption
Mike Rylander [Tue, 11 Nov 2014 18:25:55 +0000 (13:25 -0500)]
Fix boolean assumption

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoSort by class, and keep columns from one class together
Mike Rylander [Tue, 11 Nov 2014 18:25:25 +0000 (13:25 -0500)]
Sort by class, and keep columns from one class together

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdjust the default for penalty type so it is selected
Mike Rylander [Tue, 11 Nov 2014 18:24:39 +0000 (13:24 -0500)]
Adjust the default for penalty type so it is selected

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd invalid-address alert
Mike Rylander [Thu, 30 Oct 2014 15:06:14 +0000 (11:06 -0400)]
Add invalid-address alert

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd Check Number input
Mike Rylander [Thu, 30 Oct 2014 14:50:03 +0000 (10:50 -0400)]
Add Check Number input

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd the ability (and action) to uncancel holds
Mike Rylander [Thu, 30 Oct 2014 14:38:15 +0000 (10:38 -0400)]
Add the ability (and action) to uncancel holds

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoIgnore the "current_copy" field, we already get that separately
Mike Rylander [Thu, 30 Oct 2014 14:18:07 +0000 (10:18 -0400)]
Ignore the "current_copy" field, we already get that separately

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoTeach autogrid how to ignore fields explicitly
Mike Rylander [Thu, 30 Oct 2014 14:17:49 +0000 (10:17 -0400)]
Teach autogrid how to ignore fields explicitly

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd patron barcode and alias to hold lists where appropriate
Mike Rylander [Thu, 30 Oct 2014 13:57:11 +0000 (09:57 -0400)]
Add patron barcode and alias to hold lists where appropriate

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoFix "scan item for missing pieces" label to say Item instead of Patron
Mike Rylander [Thu, 30 Oct 2014 13:06:53 +0000 (09:06 -0400)]
Fix "scan item for missing pieces" label to say Item instead of Patron

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoMake "Checkout" the consistent spelling in the IDL
Mike Rylander [Thu, 30 Oct 2014 13:01:21 +0000 (09:01 -0400)]
Make "Checkout" the consistent spelling in the IDL

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoComment out Hide/Show All in autogrid
Mike Rylander [Thu, 30 Oct 2014 12:59:02 +0000 (08:59 -0400)]
Comment out Hide/Show All in autogrid

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd label to custom penalty dropdown
Mike Rylander [Thu, 30 Oct 2014 12:57:45 +0000 (08:57 -0400)]
Add label to custom penalty dropdown

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoPush explicitly added columns to the top and keep the explicit order, then sort the...
Mike Rylander [Mon, 22 Sep 2014 16:03:48 +0000 (12:03 -0400)]
Push explicitly added columns to the top and keep the explicit order, then sort the rest by their labels

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd catalog search to the search menu in the nav bar
Mike Rylander [Mon, 22 Sep 2014 16:02:55 +0000 (12:02 -0400)]
Add catalog search to the search menu in the nav bar

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd checkout/in workstation colums to the available set
Mike Rylander [Mon, 22 Sep 2014 16:02:33 +0000 (12:02 -0400)]
Add checkout/in workstation colums to the available set

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoDocumentation: LP#1386854 - Locally Hosted Added Content.
Yamil Suarez [Mon, 10 Nov 2014 18:47:52 +0000 (13:47 -0500)]
Documentation: LP#1386854 - Locally Hosted Added Content.

Adds documentation that describes how to use the local content bypass
feature of the AddedContent modules.  This allows for local added content like
cover art, reviews, TOC, exerpts or annotations to be shown in bib records.

I also changed the headers in the External Added Content section to use title case.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agoLP#1390225: Fail to care about errors from auth.session.delete
Mike Rylander [Thu, 6 Nov 2014 21:03:36 +0000 (16:03 -0500)]
LP#1390225: Fail to care about errors from auth.session.delete

We're just tossing this call over the wall and moving on.  We don't
care if the session wasn't there to delete or even if we didn't pass
a session to the server.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoLP#1390225: redirect to ctx.home_page instead of through ctx.logout_page
Mike Rylander [Thu, 6 Nov 2014 20:36:16 +0000 (15:36 -0500)]
LP#1390225: redirect to ctx.home_page instead of through ctx.logout_page

This way, we skip the auth.session.delete call that will error out because
we no longer have the authtoken cookie.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoLP#1248636: Clear session at OPAC logout
Mike Rylander [Thu, 30 Oct 2014 15:52:13 +0000 (11:52 -0400)]
LP#1248636: Clear session at OPAC logout

When the user explicitly logs out, clear the session on the server side.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoForward-port 2.6.3 upgrade script
Dan Wells [Wed, 5 Nov 2014 19:22:26 +0000 (14:22 -0500)]
Forward-port 2.6.3 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoForward-port 2.5.7 upgrade script
Dan Wells [Wed, 5 Nov 2014 19:21:44 +0000 (14:21 -0500)]
Forward-port 2.5.7 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoForward port 2.6-2.7 upgrade script
Ben Shum [Wed, 5 Nov 2014 19:19:10 +0000 (14:19 -0500)]
Forward port 2.6-2.7 upgrade script

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1366964 Update libdbi connection test error parsing
Bill Erickson [Tue, 21 Oct 2014 02:55:20 +0000 (22:55 -0400)]
LP#1366964 Update libdbi connection test error parsing

Modern version of libdbi return a slightly different error message for
queries which fail mid-transaction, causing an C-based DB backends to
exit abruptly unnecessarily.  Update the error message test to include
the new format.

Includes Perl live test for confirming functionality.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoLP1383697: Long Overdue needs to be a "magical status" for the copy editor
Chris Sharp [Tue, 21 Oct 2014 13:33:37 +0000 (09:33 -0400)]
LP1383697: Long Overdue needs to be a "magical status" for the copy editor

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agolp1383763 - Display OpenURL embargo statement
Dan Scott [Tue, 21 Oct 2014 15:02:12 +0000 (11:02 -0400)]
lp1383763 - Display OpenURL embargo statement

The ResolverResolver service fetches the embargo statement (such as
"Last year not available") from OpenURL resolvers and stores it in a
target_embargo field. In JSPAC we used to display this along with the
coverage statement, because it is very important that people know that a
resource may be available from 1999 but the last year isn't available
online.

Restore the display of this information to the TPAC.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agoDocs: Changed 'Importing materials' in the staff client section LP#1371615
Dananji Liyanage [Mon, 27 Oct 2014 21:19:10 +0000 (17:19 -0400)]
Docs: Changed 'Importing materials' in the staff client section LP#1371615

Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agoLP#1384868: limit fund drop-downs on the invoice page to only active funds
Galen Charlton [Thu, 23 Oct 2014 19:17:58 +0000 (12:17 -0700)]
LP#1384868: limit fund drop-downs on the invoice page to only active funds

This patch fixes the fund selectors for adding extra copies
and charges to invoices to only active funds (in addition
to the existing restriction to funds visible to the user).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
11 years agoDocs: add default icon definitions LP#1371598
Dananji Liyanage [Fri, 24 Oct 2014 19:15:12 +0000 (15:15 -0400)]
Docs: add default icon definitions LP#1371598

Documents the default icon definitions that are included with a stock Evergreen install.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agoLP#1261486 Action/trigger aggregator script repairs user/csharp/lp1366964-libdbi-error-handling-signoff
Bill Erickson [Wed, 11 Dec 2013 17:58:49 +0000 (12:58 -0500)]
LP#1261486 Action/trigger aggregator script repairs

* If both date filters are selected, apply both instead of replacing the
  first with the second

* Select distinct event output to prevent dupes

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agoLP#1379824 Make PermaCrud.js disconnect() actually disconnect
Dan Wells [Thu, 9 Oct 2014 21:32:42 +0000 (17:32 -0400)]
LP#1379824 Make PermaCrud.js disconnect() actually disconnect

The disconnect() method in PermaCrud.js was meant to wrap the
underlying session disconnect, but it never actually disconnected
the session.  This could lead to problems in long-living PermaCrud
objects, as they may think they are still connected when they are not
(the session remote_id is never cleared).

Also, remove a couple (now redundant) manual session.disconnect() calls.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1305958 Change copy table header atts to scope attributes
Dan Scott [Thu, 10 Apr 2014 14:59:49 +0000 (10:59 -0400)]
LP#1305958 Change copy table header atts to scope attributes

Per http://webaim.org/techniques/tables/data, the current best practice for
marking up tables for accessibility is to use the "scope" attribute for
headers, rather than the error-prone and markup-heavy "headers" attribute on
table cells.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1309664: Stamping upgrade script for new seed data for COM and SER
Ben Shum [Fri, 10 Oct 2014 17:18:03 +0000 (13:18 -0400)]
LP#1309664: Stamping upgrade script for new seed data for COM and SER

Signed-off-by: Ben Shum <bshum@biblio.org>