working/Evergreen.git
7 years agoteach place hold form how to clear cart user/miker/gmc_tmp
Galen Charlton [Mon, 13 Aug 2018 22:34:24 +0000 (18:34 -0400)]
teach place hold form how to clear cart

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agoadd clear entire basket checkbox to baskets page
Galen Charlton [Mon, 13 Aug 2018 22:10:10 +0000 (18:10 -0400)]
add clear entire basket checkbox to baskets page

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agoshow only current basket when invoking the lists page from a 'create list from basket...
Galen Charlton [Mon, 13 Aug 2018 21:47:03 +0000 (17:47 -0400)]
show only current basket when invoking the lists page from a 'create list from basket' action

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agoadd confirmation when using the AJAX Clear Basket link
Galen Charlton [Mon, 13 Aug 2018 21:32:40 +0000 (17:32 -0400)]
add confirmation when using the AJAX Clear Basket link

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agoif the basket page is used to clear all items from basket, return to original referrer
Galen Charlton [Mon, 13 Aug 2018 21:25:51 +0000 (17:25 -0400)]
if the basket page is used to clear all items from basket, return to original referrer

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agoavoid interference with search form enter-to-submit
Galen Charlton [Mon, 13 Aug 2018 21:08:35 +0000 (17:08 -0400)]
avoid interference with search form enter-to-submit

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agoadd 'add to new list' action on the view basket page (for baskets only)
Galen Charlton [Mon, 13 Aug 2018 20:47:25 +0000 (16:47 -0400)]
add 'add to new list' action on the view basket page (for baskets only)

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agodisable basket actions when none selected
Galen Charlton [Mon, 13 Aug 2018 20:25:58 +0000 (16:25 -0400)]
disable basket actions when none selected

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agochange style of action menu
Galen Charlton [Mon, 13 Aug 2018 20:09:07 +0000 (16:09 -0400)]
change style of action menu

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agofix issues with managing multiple query (and other) CGI params
Galen Charlton [Mon, 13 Aug 2018 19:10:21 +0000 (15:10 -0400)]
fix issues with managing multiple query (and other) CGI params

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agoshow clear cart link only when cart has contents
Galen Charlton [Sat, 11 Aug 2018 00:28:47 +0000 (20:28 -0400)]
show clear cart link only when cart has contents

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agomore wording fixes
Galen Charlton [Fri, 10 Aug 2018 23:01:21 +0000 (19:01 -0400)]
more wording fixes

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agodisable advanced hold options if we have multiple holds
Galen Charlton [Fri, 10 Aug 2018 22:58:02 +0000 (18:58 -0400)]
disable advanced hold options if we have multiple holds

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agoimprove images
Galen Charlton [Fri, 10 Aug 2018 22:52:04 +0000 (18:52 -0400)]
improve images

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agomore changes
Galen Charlton [Fri, 10 Aug 2018 22:28:26 +0000 (18:28 -0400)]
more changes

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agoreplace icons with basket images
Galen Charlton [Fri, 10 Aug 2018 22:24:26 +0000 (18:24 -0400)]
replace icons with basket images

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agochange visible labeling of 'Cart' to 'Basket'
Galen Charlton [Fri, 10 Aug 2018 22:05:50 +0000 (18:05 -0400)]
change visible labeling of 'Cart' to 'Basket'

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agofix hold form when placing multiple titles
Galen Charlton [Thu, 12 Jul 2018 21:47:45 +0000 (17:47 -0400)]
fix hold form when placing multiple titles

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agodisplay cart on browse and advanced search forms too
Galen Charlton [Thu, 12 Jul 2018 21:26:25 +0000 (17:26 -0400)]
display cart on browse and advanced search forms too

Signed-off-by: Galen Charlton <gmc@equinoxintiative.org>
7 years agoshow cart controls on results when logged in user/gmcharlt/lp1721575_batch_actions
Galen Charlton [Fri, 15 Jun 2018 22:16:56 +0000 (18:16 -0400)]
show cart controls on results when logged in

7 years agomake legacy (and page-specific) add/remove cart budgets use AJAX when JS available
Galen Charlton [Fri, 15 Jun 2018 22:00:44 +0000 (18:00 -0400)]
make legacy (and page-specific) add/remove cart budgets use AJAX when JS available

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agocheck entries in cart view by default
Galen Charlton [Fri, 15 Jun 2018 20:07:06 +0000 (16:07 -0400)]
check entries in cart view by default

7 years agohover text for checkboxes
Galen Charlton [Fri, 15 Jun 2018 20:02:39 +0000 (16:02 -0400)]
hover text for checkboxes

7 years agoensure that cart has access to list of bookbags
Galen Charlton [Fri, 15 Jun 2018 19:43:00 +0000 (15:43 -0400)]
ensure that cart has access to list of bookbags

(when user is logged in)

7 years agounbreak place_hold action
Galen Charlton [Fri, 15 Jun 2018 18:52:53 +0000 (14:52 -0400)]
unbreak place_hold action

7 years agomore fixed to select-all checkbox management
Galen Charlton [Fri, 15 Jun 2018 17:11:19 +0000 (13:11 -0400)]
more fixed to select-all checkbox management

7 years agoadd AJAX cart clearing action
Galen Charlton [Fri, 15 Jun 2018 17:06:41 +0000 (13:06 -0400)]
add AJAX cart clearing action

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agotweak handling of select-all
Galen Charlton [Fri, 15 Jun 2018 16:27:34 +0000 (12:27 -0400)]
tweak handling of select-all

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agobetter syncing of cart state
Galen Charlton [Fri, 15 Jun 2018 16:16:31 +0000 (12:16 -0400)]
better syncing of cart state

This patch improves how the display of the cart size and selected records
are handled when the back (and forward) buttons are used, and embeds
record_selectors.js on all pages. It also:

* adds more bullet-proofing of element existance in record_selectors.js
* adds an /eg/opac/api/mylist/retrieve API

7 years agoclarify warning message when cart is empty
Galen Charlton [Wed, 13 Jun 2018 20:52:27 +0000 (16:52 -0400)]
clarify warning message when cart is empty

Since the idiom is changing from "creating a temporary list"
to "filling a cart that always exists, but might be empty", adjust
the warning message accordingly.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoand have list actions check for zero-selection actions
Galen Charlton [Fri, 8 Jun 2018 21:31:22 +0000 (17:31 -0400)]
and have list actions check for zero-selection actions

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoimplement warning if attempting action from cart view with nothing selected
Galen Charlton [Fri, 8 Jun 2018 21:14:01 +0000 (17:14 -0400)]
implement warning if attempting action from cart view with nothing selected

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agofix actually moving cart items to new list
Galen Charlton [Fri, 8 Jun 2018 16:01:19 +0000 (12:01 -0400)]
fix actually moving cart items to new list

7 years agoteach create new list action how to move contents of cart to it
Galen Charlton [Thu, 7 Jun 2018 21:43:14 +0000 (17:43 -0400)]
teach create new list action how to move contents of cart to it

note that the mkurl macro is now also getting the beginnings of
a hard-coded list of params to always clear so that move_cart_by_default
doesn't travel around unnecessarily

7 years agowarn if attempting to print or email an empty cart
Galen Charlton [Thu, 7 Jun 2018 20:58:59 +0000 (16:58 -0400)]
warn if attempting to print or email an empty cart

Also:

* make styling of the warning message consistent
* add return to referrer button

7 years agofix matching of bib IDs
Galen Charlton [Thu, 7 Jun 2018 13:41:27 +0000 (09:41 -0400)]
fix matching of bib IDs

7 years agofix emailing only subset of records
Galen Charlton [Wed, 6 Jun 2018 15:26:08 +0000 (11:26 -0400)]
fix emailing only subset of records

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agofix previous patch
Galen Charlton [Tue, 5 Jun 2018 21:47:36 +0000 (17:47 -0400)]
fix previous patch

7 years agouse a separate anon cache session for cart
Galen Charlton [Tue, 5 Jun 2018 21:42:59 +0000 (17:42 -0400)]
use a separate anon cache session for cart

This works around the staffsearches anoncache handling stomping
over the cart when the OPAC is embedded, as open-ils.actor.anon_cache.get_value
currently can't distinguish between an invalid session key and a case
where the sub-key is not yet populated in the anon cache value.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoanother s/list/cart/g
Galen Charlton [Tue, 5 Jun 2018 21:08:51 +0000 (17:08 -0400)]
another s/list/cart/g

7 years agoLP#nnnn: fix title issue in bib email and print
Galen Charlton [Mon, 4 Jun 2018 21:39:16 +0000 (17:39 -0400)]
LP#nnnn: fix title issue in bib email and print

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoMerge remote-tracking branch 'origin/master' into user/gmcharlt/lp1721575_batch_actions
Galen Charlton [Mon, 4 Jun 2018 18:34:54 +0000 (14:34 -0400)]
Merge remote-tracking branch 'origin/master' into user/gmcharlt/lp1721575_batch_actions

7 years agoForward port 3.1.2 upgrade script
Dan Wells [Mon, 4 Jun 2018 13:07:33 +0000 (09:07 -0400)]
Forward port 3.1.2 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoForward port 3.0.8 upgrade script
Dan Wells [Mon, 4 Jun 2018 13:06:55 +0000 (09:06 -0400)]
Forward port 3.0.8 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoDocs: Add bullet number images removed in 2.10
Remington Steed [Thu, 31 May 2018 17:59:30 +0000 (13:59 -0400)]
Docs: Add bullet number images removed in 2.10

These number images are used by the code callout feature of AsciiDoc,
used by the new Receipt Template Editor chapter (and possibly other
docs). I had renamed them in 2015, supposedly to prevent an ePub build
error, but that broke the code callout images. And since I cannot
replicate the ePub error now, I am renaming them back to their original
state, with sincere apologies to code callout readers everywhere.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
7 years agoDocs: Release notes entry for lp1732975
Kathy Lussier [Fri, 25 May 2018 21:12:59 +0000 (17:12 -0400)]
Docs: Release notes entry for lp1732975

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agolp1732975 Parts Column Not Populated
Kyle Huckins [Wed, 2 May 2018 17:47:04 +0000 (17:47 +0000)]
lp1732975 Parts Column Not Populated

- Retrieve Parts information in egItem

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/templates/staff/cat/item/t_list.tt2
modified:   Open-ILS/web/js/ui/default/staff/circ/services/item.js

Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoDocs: Add release note for bug 1707063 to 3.0 notes
Kathy Lussier [Fri, 25 May 2018 20:49:26 +0000 (16:49 -0400)]
Docs: Add release note for bug 1707063 to 3.0 notes

I missed the 3.0 notes in the earlier commit.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoDocs: Add release note for bug 1707063
Kathy Lussier [Fri, 25 May 2018 20:44:26 +0000 (16:44 -0400)]
Docs: Add release note for bug 1707063

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1707063: Naive ng-class test for last-column-modified
Mike Rylander [Mon, 29 Jan 2018 21:37:15 +0000 (16:37 -0500)]
LP#1707063: Naive ng-class test for last-column-modified

Instead of comparing a (potentially undefined) property of a column, we'll
just compare the column object directly when checking to see if a column
header should be highlighted for "last touched in editing mode."

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoDocs: Add release notes entry for lp1766379
Kathy Lussier [Fri, 25 May 2018 20:23:05 +0000 (16:23 -0400)]
Docs: Add release notes entry for lp1766379

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1766379: add spaces between terms in author link to prevent a broken search query
Jeff Davis [Wed, 16 May 2018 18:31:43 +0000 (11:31 -0700)]
LP#1766379: add spaces between terms in author link to prevent a broken search query

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoDocs: adding to 3.1.2 release notes
Jane Sandberg [Fri, 25 May 2018 20:23:40 +0000 (13:23 -0700)]
Docs: adding to 3.1.2 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
7 years agoDocs: correcting description of a bugfix
Jane Sandberg [Fri, 25 May 2018 20:14:12 +0000 (13:14 -0700)]
Docs: correcting description of a bugfix

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

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
7 years agoLP1750887: Copy Objects when Saving Copy Templates
Jason Boyer [Wed, 21 Feb 2018 18:59:44 +0000 (13:59 -0500)]
LP1750887: Copy Objects when Saving Copy Templates

Copy the callnumbers and statcats objects when saving
copy templates to prevent accidental and confusing
editing of in-memory copies.

cesardv: changed tabs to spaces.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1771422 Reset transiting hold copy status fix
Bill Erickson [Tue, 15 May 2018 20:12:12 +0000 (16:12 -0400)]
LP#1771422 Reset transiting hold copy status fix

Avoid modifying the copy status in the hold-reset API when it's passing
the copy off to the transit API for canceling the transit.  Let the
transit API handle the status instead.

This fixes a bug where resetting a transiting hold, and canceling its
transit, would leave the targeted copy in "in transit" status instead of
"canceled transit".

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1750630: use proper quoting to un-break Transit List print template
Lynn Floyd [Mon, 7 May 2018 17:43:01 +0000 (10:43 -0700)]
LP#1750630: use proper quoting to un-break Transit List print template

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1528909: Patron search clickable barcodes
Bill Erickson [Tue, 22 May 2018 15:18:01 +0000 (11:18 -0400)]
LP#1528909: Patron search clickable barcodes

Patron barcodes in the patron search grid are now click-able, making it
possible to quickly open multiple patrons in new tabs from patron search
by control-clicking (or middle-clicking) the barcode links.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1721148: In-house use shows copy status
Bill Erickson [Mon, 21 May 2018 18:22:32 +0000 (14:22 -0400)]
LP#1721148: In-house use shows copy status

Adds a Copy Status column to the In-House use checkout grid.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Geoff Sams <gsams@roanoketexas.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLp#1760859: Add Missing Images to Tranist and Hold Slips
Jeanette Lundgren [Mon, 14 May 2018 17:26:45 +0000 (13:26 -0400)]
Lp#1760859: Add Missing Images to Tranist and Hold Slips

Added new truck transit.png image for web client holds/transit dialog

Added holds.png img tag to t_hold_shelf_dialog.tt2

Added transit.png img tag to t_transit_dialog.tt2

Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1759352: improve webstaff fix checkout specific due date UX
Cesar Velez [Fri, 30 Mar 2018 15:32:45 +0000 (11:32 -0400)]
LP#1759352: improve webstaff fix checkout specific due date UX

The Date Options dropdown UI added as a result of bug 1717025
hides the state of the "checkboxes" for custom due date and
the datepicker wasn't disabled when custom due date was disabled.
This addresses these UX issues, to that the user has visual feedback
as to the state of that option.

Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1751126: Make print holds shelf list aware of clear mode.
Jason Stephenson [Tue, 10 Apr 2018 14:51:24 +0000 (10:51 -0400)]
LP#1751126: Make print holds shelf list aware of clear mode.

We change the Print Full List button on the holds shelf view to be
aware of whether clear mode is active.  If clear mode is active, then
the list of holds to clear is printed.  If not, then the full holds
shelf list is printed.

This commit does not change the label of the print full list button.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1772417: (follow-up) improve I18N of the bucket title string
Galen Charlton [Fri, 25 May 2018 18:25:44 +0000 (14:25 -0400)]
LP#1772417: (follow-up) improve I18N of the bucket title string

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP1772417: Adding the bucket ID to the user bucket display
Jane Sandberg [Mon, 21 May 2018 16:28:39 +0000 (09:28 -0700)]
LP1772417: Adding the bucket ID to the user bucket display

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Testing note:

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

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

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

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

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

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

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoLP#1721575: add release notes
Galen Charlton [Thu, 24 May 2018 19:54:58 +0000 (15:54 -0400)]
LP#1721575: add release notes

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1755220: Return value checking in offline session fetch
Mike Rylander [Fri, 4 May 2018 13:58:53 +0000 (09:58 -0400)]
LP#1755220: Return value checking in offline session fetch

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoimplement ctx.max_cart_size
Galen Charlton [Thu, 24 May 2018 02:17:26 +0000 (22:17 -0400)]
implement ctx.max_cart_size

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoadd print and email actions to list and cart pages
Galen Charlton [Thu, 24 May 2018 01:41:01 +0000 (21:41 -0400)]
add print and email actions to list and cart pages

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agodon't show add to list cart action in staff view
Galen Charlton [Thu, 24 May 2018 00:54:15 +0000 (20:54 -0400)]
don't show add to list cart action in staff view

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agofix visibility of popmenu
Galen Charlton [Thu, 24 May 2018 00:50:59 +0000 (20:50 -0400)]
fix visibility of popmenu

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoseparate out cart from list in actions list
Galen Charlton [Thu, 24 May 2018 00:44:57 +0000 (20:44 -0400)]
separate out cart from list in actions list

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agomore terminology tweaks
Galen Charlton [Thu, 24 May 2018 00:28:35 +0000 (20:28 -0400)]
more terminology tweaks

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoDocs: Adding to and reorganizing the 3.1.2 release notes
Jane Sandberg [Wed, 23 May 2018 22:52:56 +0000 (15:52 -0700)]
Docs: Adding to and reorganizing the 3.1.2 release notes

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

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
7 years agoadd an add-to-cart action for the web staff client
Galen Charlton [Wed, 23 May 2018 22:07:25 +0000 (18:07 -0400)]
add an add-to-cart action for the web staff client

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoadd the actual image
Galen Charlton [Wed, 23 May 2018 22:06:54 +0000 (18:06 -0400)]
add the actual image

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoreplace clipboard icon with smaller cart icon in appropriate contexts
Galen Charlton [Wed, 23 May 2018 21:32:00 +0000 (17:32 -0400)]
replace clipboard icon with smaller cart icon in appropriate contexts

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoyet more terminology tweaks
Galen Charlton [Wed, 23 May 2018 21:23:24 +0000 (17:23 -0400)]
yet more terminology tweaks

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoanother terminology tweak
Galen Charlton [Wed, 23 May 2018 21:21:57 +0000 (17:21 -0400)]
another terminology tweak

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agochange user terminology from Temporary List to Cart
Galen Charlton [Wed, 23 May 2018 21:20:41 +0000 (17:20 -0400)]
change user terminology from Temporary List to Cart

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoimplement action to place hold on entire list
Galen Charlton [Wed, 23 May 2018 21:14:58 +0000 (17:14 -0400)]
implement action to place hold on entire list

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoadd action for emailing cart
Galen Charlton [Wed, 23 May 2018 20:59:10 +0000 (16:59 -0400)]
add action for emailing cart

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoadd template for cart clearing confirmation
Galen Charlton [Wed, 23 May 2018 20:58:44 +0000 (16:58 -0400)]
add template for cart clearing confirmation

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

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

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

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

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

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoadd explicit view action to cart menu
Galen Charlton [Wed, 23 May 2018 20:34:24 +0000 (16:34 -0400)]
add explicit view action to cart menu