]> git.evergreen-ils.org Git - evergreen/pines.git/log
evergreen/pines.git
5 years agoRemove Activate PO button on Vandelay acq_remove_activate_po
Tiffany Little [Tue, 5 Jun 2018 17:58:20 +0000 (13:58 -0400)]
Remove Activate PO button on Vandelay

5 years agoRevert "LP#1764542 - Update older sites to MODS 3.3"
Chris Sharp [Mon, 4 Jun 2018 17:44:20 +0000 (13:44 -0400)]
Revert "LP#1764542 - Update older sites to MODS 3.3"

This reverts commit 1f4123fbcfc1285f2914ea7ec8bafa34accc572a.

5 years agoLP#1764542 - Update older sites to MODS 3.3
Chris Sharp [Mon, 4 Jun 2018 17:10:31 +0000 (13:10 -0400)]
LP#1764542 - Update older sites to MODS 3.3

MODS 3.3 support was introduced in March 2009, but this
change was never included in an upgrade script.  Older
sites will need to apply this update to avoid scary
segmentation faults, and it shouls be harmless for newer
sites.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1774427 Parse DoB dates as whole dates
Bill Erickson [Thu, 31 May 2018 14:58:38 +0000 (10:58 -0400)]
LP#1774427 Parse DoB dates as whole dates

Fixes DoB parsing in the browser client patron edit interface by
creating date objects from a whole YMD date string instead of compiling
the date as collection of pieces.  Compiling dates from pieces (calling
setFullYear(), setMonth(), etc.) can have unexpected consequences,
because a change of month can result in a change of days as well, if the
number of days in the date object exceeds the capacity of the selected
month.

For example:

---
> d = new Date()
2018-05-31T14:59:26.186Z
> d.setMonth(1)
1520092766186
> d
2018-03-03T15:59:26.186Z
--

Parsing as Date(YYYY,MM,DD) instead avoids this kind of shuffling.

To test

[1] Log in to the staff client on the 31st day of the month :)
[2] Change a patron's DoB to a month that does not contain 31 days.
[3] Save patron and note on reload, the DoB shows the wrong value.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP#14973322: (follow-up) allow profile-only patron searches
Galen Charlton [Mon, 30 Apr 2018 21:03:26 +0000 (17:03 -0400)]
LP#14973322: (follow-up) allow profile-only patron searches

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

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

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

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

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

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

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP#1730003 Courier code doesn't display in transit slip receipt preview
Garry Collum [Fri, 25 May 2018 20:31:21 +0000 (16:31 -0400)]
LP#1730003 Courier code doesn't display in transit slip receipt preview

Adds seed data for the transit and hold-transit slip preview in the print template editor.

To test add {{dest_courier_code}} as a variable in either the transit slip or hold transit slip template.

Signed-off-by: Garry Collum <gcollum@gmail.com>
5 years agoLP#1759352-webstaff fix checkout specific due date UX
Cesar Velez [Fri, 30 Mar 2018 15:32:45 +0000 (11:32 -0400)]
LP#1759352-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.

Cesar Velez <cesar.velez@equinoxinitiative.org>

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
5 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>
5 years agoLP#1739465 EDI consistent use of buyer org unit san
Bill Erickson [Tue, 19 Dec 2017 22:50:38 +0000 (17:50 -0500)]
LP#1739465 EDI consistent use of buyer org unit san

Use the org unit (buyer) SAN instead of the the seller SAN when the
BUYER_ID_INCLUDE_VENDCODE EDI attribute is enabled.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
5 years agoPINES Local Customization: Modify Labels for Stored Preferences
McCanna [Wed, 23 May 2018 20:53:26 +0000 (16:53 -0400)]
PINES Local Customization: Modify Labels for Stored Preferences

Add wording to Workstation > Stored Preferences page tabs to indicate
which tab is related to Hatch settings and which tab is related to
browser settings.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
5 years agoPINES Local Customization: Hide Set Default View Button
McCanna [Wed, 23 May 2018 21:00:57 +0000 (17:00 -0400)]
PINES Local Customization: Hide Set Default View Button

This hides the Set Default View button that is in the web staff client
on the catalog item pages. Clicking the button has caused white screen
problems that have not been resolved. (There is also a button on the Admin >
Workstation page, but that was hidden in a different local customization
patch.)

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
5 years agoPINES does not use patron credit, so remove it from view
Chris Sharp [Tue, 22 May 2018 19:16:59 +0000 (15:16 -0400)]
PINES does not use patron credit, so remove it from view

5 years agoRevert "temp fix for broken library locator"
Chris Sharp [Mon, 14 May 2018 17:52:10 +0000 (13:52 -0400)]
Revert "temp fix for broken library locator"

This reverts commit a1ab46766e8fcb313bc039ccf46313fcc8054334.

5 years agotemp fix for broken library locator
Chris Sharp [Mon, 14 May 2018 17:46:38 +0000 (13:46 -0400)]
temp fix for broken library locator

5 years agoLP#1740537 Transit dialog showing wrong branch
Bill Erickson [Mon, 30 Apr 2018 18:27:41 +0000 (14:27 -0400)]
LP#1740537 Transit dialog showing wrong branch

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

Add a filter to avoid canceled transits.

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

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1743854 - Correct initial cursor focus in in-house use UI
Chris Sharp [Mon, 7 May 2018 12:31:56 +0000 (08:31 -0400)]
LP#1743854 - Correct initial cursor focus in in-house use UI

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

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoPINES: Further customizations to new books feed
McCanna [Wed, 25 Apr 2018 16:24:06 +0000 (12:24 -0400)]
PINES: Further customizations to new books feed

Hid availability because it didn't differentiate between in process
and checked out. Added copydepth to url because it wasn't working on
production without it.

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

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

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

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP1737540: Add Patron Information to Receipts
Jason Boyer [Mon, 29 Jan 2018 22:02:01 +0000 (17:02 -0500)]
LP1737540: Add Patron Information to Receipts

Adds the following fields to a patron object on print_data:
first_given_name
second_given_name
family_name
suffix
barcode
money_summary.balance_owed
money_summary.total_paid
money_summary.total_owed
expire_date
alias
has_email
has_phone

On the following receipts: Checkout, Items Out, and Bill Payment.

(money_summary left out on bill payment because it will always be out of date.)

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
6 years agoLP 1735539: Now with streaming action.
Jason Stephenson [Fri, 13 Apr 2018 17:56:00 +0000 (13:56 -0400)]
LP 1735539: Now with streaming action.

Modify item service selectedHoldingsCopyDelete method one more time to
use streaming response instead of getting all results in a single,
atomic call.  This should better handle large numbers of selected
items.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
6 years agoLP 1735539: Simplify item service selectedHoldingsCopyDelete.
Jason Stephenson [Fri, 13 Apr 2018 13:38:39 +0000 (09:38 -0400)]
LP 1735539: Simplify item service selectedHoldingsCopyDelete.

Remove the var copy_objects and the unnecessary push of the results
into var copy_objects.

Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLp 1735539: Fix Item Status ability to delete multiple copies.
Jason Stephenson [Thu, 12 Apr 2018 14:47:40 +0000 (10:47 -0400)]
Lp 1735539: Fix Item Status ability to delete multiple copies.

Set atomic to true for the PCRUD search in the item service's
selectedHoldingsCopyDelete method, and do an angular.forEach over the
results to properly fill the copy_objects array so that all copies end
up in it.  As it was only 1 copy was getting into the array.

To reproduce the bug:
   1. Open Item Status in the web staff client.
   2. Load multiple items, perhaps by uploading a file of barcodes.
   3. Select more than 1 item from the list.
   4. Choose "Delete Items" from the Actions menu.
   5. Note that the dialog indicates that you will delete 1 copy.
   6. Click the Cancel button in the dialog.

To test, after applying the fix branch:
   1. Open Item Status in the web staff client.
   2. Load multiple items, perhaps by uploading a file of barcodes.
   3. Select more than 1 item from the list.
   4. Choose "Delete Items" from the Actions menu.
   5. Note that that the dialog indicates you will delete X copies,
      where X is the number of items selected.
   6. Click OK and confirm that all copies were deleted.
   7. You can confirm 6 by reloading the interface and uploading the
      file of barcodes again.

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

Remove the boolText filter because it was always return false.

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

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

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoKPAC Art and Features for SRP 2018
McCanna [Fri, 13 Apr 2018 20:37:11 +0000 (16:37 -0400)]
KPAC Art and Features for SRP 2018

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoCustomization to default print template for Hold Shelf Slip
McCanna [Fri, 13 Apr 2018 16:15:40 +0000 (12:15 -0400)]
Customization to default print template for Hold Shelf Slip

Fixed alignment of notification options.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization to Self-check Wording
McCanna [Fri, 13 Apr 2018 16:25:47 +0000 (12:25 -0400)]
PINES Customization to Self-check Wording

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1729934 Webstaff display org-scoped penalties
Bill Erickson [Thu, 29 Mar 2018 21:06:16 +0000 (17:06 -0400)]
LP#1729934 Webstaff display org-scoped penalties

Consistent with the XUL client, only display patron standing penalties
(AKA Messages) that are linked to an org unit which is an ancestor,
matching, or descendant org unit of the workstation (e.g. the full
path).

To test:

[1] Create a patron Message which applies to a branch using a branch or
null-depth penalty (e.g. at BR1).

[2] Create a second message that links to the root org unit (e.g. CONS)
via depth=0 penalty.

[2] Log out and back in to the browser client at a workstation under a
different section of the org unit tree (e.g. BR3) and confirm the
Messages created at BR1 do not display, but the messages created at CONS
do.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1729934 Webstaff penalty create org/depth repair
Bill Erickson [Fri, 5 Jan 2018 19:55:56 +0000 (14:55 -0500)]
LP#1729934 Webstaff penalty create org/depth repair

Apply correct org unit to patron penalties created in the web staff
client.  Specifically, be sure the standing penalty depth value is
honored when set.

Commit replaces manual pcrud creation with the XUL-tested API, which
calculates the correct org unit by depth for us.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
6 years agoLP#1746300: Fix circulation counts in Item Status Details
Chris Sharp [Tue, 10 Apr 2018 15:40:35 +0000 (11:40 -0400)]
LP#1746300: Fix circulation counts in Item Status Details

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

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

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

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

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

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoPINES Temp Fix: Hide Adv Search Default Pane
McCanna [Tue, 23 Jan 2018 20:16:58 +0000 (15:16 -0500)]
PINES Temp Fix: Hide Adv Search Default Pane

Hide section that sets advanced search default pane
in web client because it causes problems in Chrome.
Can un-hide when bug 1731272 is fixed.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1361258 Patron reg repair user settings saving/loading
Bill Erickson [Mon, 19 Mar 2018 19:22:44 +0000 (15:22 -0400)]
LP#1361258 Patron reg repair user settings saving/loading

Avoid caching user setting values at the service (app) level in the user
editor.  In other words, always fetch a fresh copy of the current user's
setting with each instance of the editor page.

This solves a number problems where stale versions of the cached data
were referenced and acted on, both when displaying an updating user
settings.

Additionally, ensure that clone user and stage user data is refreshed
on all page instances as the URL params that affect these values can
change per instance.

Other data that is common to all instances (e.g. the set of profile
groups) is still cached as before.

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

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoPINES Customization for Default Patron Data Print Template
McCanna [Tue, 13 Mar 2018 15:48:44 +0000 (11:48 -0400)]
PINES Customization for Default Patron Data Print Template

Added formatting and signature block.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoRe-add GALILEO features.
Chris Sharp [Tue, 6 Mar 2018 15:12:44 +0000 (10:12 -0500)]
Re-add GALILEO features.

6 years agolp1693036 Patron Editor Print Data
Kyle Huckins [Thu, 15 Feb 2018 23:03:20 +0000 (23:03 +0000)]
lp1693036 Patron Editor Print Data
- Add Print button to Patron Editor.
- Add Patron Data print template.
- Add additional print template dummy data needed for Patron
Data template.
- Implement print functionality for Patron registration/edit
data.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/templates/staff/admin/workstation/t_print_templates.tt2
modified:   Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2
new file:   Open-ILS/src/templates/staff/share/print_templates/t_patron_data.tt2
modified:   Open-ILS/web/js/ui/default/staff/admin/workstation/app.js
modified:   Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js

6 years agoLP#1749992 Disable payment button during payment
Dan Wells [Tue, 20 Feb 2018 16:05:49 +0000 (11:05 -0500)]
LP#1749992 Disable payment button during payment

Since the display is not refreshed until the payment finishes, it
is possible to fire off a second payment by double-clicking.

This commit is a simple way to disable the button while a payment is
in process, then enable it again after the display refreshes.

Since the 'sendPayment()' function is wrapped, we may need to move
this logic up, but this being a single promise is simpler, and it
solved the problem in testing.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoModify custom default hold transit slip to include note
McCanna [Thu, 15 Feb 2018 22:37:30 +0000 (17:37 -0500)]
Modify custom default hold transit slip to include note
that item is needed for a hold. (This was at the request
of several libraries who prioritize their sorting based
on whether items are needed for holds or not.)

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoUpdated PINES Map Graphic including LOPL
McCanna [Thu, 15 Feb 2018 22:40:30 +0000 (17:40 -0500)]
Updated PINES Map Graphic including LOPL

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1747542 - Repair item/user circulation test
Chris Sharp [Mon, 5 Feb 2018 23:58:43 +0000 (18:58 -0500)]
LP#1747542 - Repair item/user circulation test

The action.item_user_circ_test function was previously
ignoring lost or longoverdue and paid-for circulations.
Adding a check for whether the circulation is closed
fixes this.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1743262 CC external payment requires app. code
Bill Erickson [Mon, 5 Feb 2018 21:24:38 +0000 (16:24 -0500)]
LP#1743262 CC external payment requires app. code

1. Indicate in the CC form that the approval_code field is required,
   styled consistently with the patron edit app.

2. Prevent the form dialog from closing via Submit when no approval code
   is set.

3. Handle payment failures better by preventing the post-API code from
   running (i.e. receipt printing) when the API fails.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1739460: Be more careful when gathering shelving locations
Mike Rylander [Wed, 10 Jan 2018 16:55:08 +0000 (11:55 -0500)]
LP#1739460: Be more careful when gathering shelving locations

Specifically, make sure we're getting the IDs, and comparing them as numbers.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoKPAC Fix to broken image links
Terran McCanna [Wed, 24 Jan 2018 20:41:28 +0000 (15:41 -0500)]
KPAC Fix to broken image links

Removes cache info from image links in KPAC because
it was causing links on Dewey page to break.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agofix IP redirection by pulling the X-Real-IP header
Chris Sharp [Wed, 24 Jan 2018 17:34:46 +0000 (12:34 -0500)]
fix IP redirection by pulling the X-Real-IP header

6 years agoLP#1743608 Replace barcode discards NULL/accidental entries
Bill Erickson [Tue, 23 Jan 2018 22:56:51 +0000 (17:56 -0500)]
LP#1743608 Replace barcode discards NULL/accidental entries

When replacing a patron's barcode in the patron editor, discard any
previous replacement attempts done in the current edit session.  This
prevents cases where secondary, etc. replacement cards are accidentally
created or NULL cards that result in ugly error messages.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1743819: Use combcirc rather than circ to get circ data
Mike Rylander [Wed, 17 Jan 2018 17:25:49 +0000 (12:25 -0500)]
LP#1743819: Use combcirc rather than circ to get circ data

This addresses a merge regression.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1734963: Teach copy template converter about older templates.
Chris Sharp [Tue, 28 Nov 2017 18:42:26 +0000 (13:42 -0500)]
LP#1734963: Teach copy template converter about older templates.

The XUL-to-web-client copy template converter created to fix
bug 1691269 needs a little help when the value stored is a
number rather than a string.

Thanks to Jeff Godin for troubleshooting help and Mike
Rylander for the suggested solution.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jeff Godin <jgodin@tadl.org>
6 years agoStamping upgrade script for xul-to-web copy template translation
Mike Rylander [Mon, 27 Nov 2017 18:53:40 +0000 (13:53 -0500)]
Stamping upgrade script for xul-to-web copy template translation

Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1691269: (follow-up) fix whitespace to match local style
Galen Charlton [Mon, 27 Nov 2017 18:24:39 +0000 (13:24 -0500)]
LP#1691269: (follow-up) fix whitespace to match local style

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1691269: include volume fields in converted copy templates
Galen Charlton [Mon, 27 Nov 2017 17:46:33 +0000 (12:46 -0500)]
LP#1691269: include volume fields in converted copy templates

This patch insures that call number prefix, suffix, and classification
scheme from copy templates created in the XUL unified copy editor are
brought over to web staff copy templates.

Note that in order to successfully test the call number portion of
converted copy templates in the web staff client, the volume/copy editor
default "Allow Call Number attributes in Copy Templates" should be
turned on.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1691269: (follow-up) include new cust in seed data
Galen Charlton [Mon, 27 Nov 2017 16:08:23 +0000 (11:08 -0500)]
LP#1691269: (follow-up) include new cust in seed data

Also s/Copier/Copy/.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP1691269: Webstaff Copy Editor Templates
Jason Boyer [Sun, 22 Oct 2017 19:42:02 +0000 (15:42 -0400)]
LP1691269: Webstaff Copy Editor Templates

This branch will translate and transfer your XUL client templates
the first time you load the web client copy editor. From that point
on the two diverge with no further connection to each other.

This branch also allows your copy templates to travel with you
between browsers, machines, and so on, while still allowing users
that share a browser but not usernames to have their own templates.

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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agolp1742194 - Print Current Bills only printing circ bills
Kyle Huckins [Thu, 11 Jan 2018 18:10:51 +0000 (18:10 +0000)]
lp1742194 - Print Current Bills only printing circ bills

- Check xact for Circulation before assigning circulation data to
xact for printing.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/web/js/ui/default/staff/circ/patron/bills.js

6 years agoRevert "PINES Cust: Add shortname to alerts"
Chris Sharp [Thu, 11 Jan 2018 19:09:27 +0000 (14:09 -0500)]
Revert "PINES Cust: Add shortname to alerts"

This reverts commit b814b414a79e98d5be790d1ba52d5d1056928426.

6 years agoPINES Customization: Hide Claims Never Checked Out Action
Terran McCanna [Wed, 10 Jan 2018 21:56:38 +0000 (16:56 -0500)]
PINES Customization: Hide Claims Never Checked Out Action

On the patron account's Items Out screen, hide the
Mark Claims Never Checked Out action since we do not use
it in PINES and there is no associated permission to prevent
it from working.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoLP1712646: Require a Billing Type to Bill User
Jason Boyer [Thu, 4 Jan 2018 18:38:00 +0000 (13:38 -0500)]
LP1712646: Require a Billing Type to Bill User

Previously billing a user without choosing a billing type
would either fail silently or default to misc. This patch
requires staff to choose a billing type before the new
bill window can be dismissed.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP1741072: Global String<->Num Directives for ngModel
Jason Boyer [Thu, 4 Jan 2018 17:55:16 +0000 (12:55 -0500)]
LP1741072: Global String<->Num Directives for ngModel

To increase flexibility the stringToNumber directive
has been separated into int and float versions and
aditional directives are added to convert in the other
direction. The existing use of stringToNumber in the
volume/copy editor are also converted to strToFloat.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1691861 - make Item Status edit items in batch in volcopy
Cesar Velez [Tue, 24 Oct 2017 18:16:33 +0000 (14:16 -0400)]
LP#1691861 - make Item Status edit items in batch in volcopy

This makes the Item Status grid action of "Edit Items" work
like the Copy Buckets grid "Edit Selected Items", in that the
copies open in the volcopy editor in batch, with no record summary.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoTemp Fix for Patron Account Expiring Soon Message
Terran McCanna [Wed, 27 Dec 2017 23:23:31 +0000 (18:23 -0500)]
Temp Fix for Patron Account Expiring Soon Message

Marked as temp fix for testing before packaging for submission
to launchpad bug 1726918.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Cust: Add shortname to alerts
Terran McCanna [Wed, 27 Dec 2017 23:25:24 +0000 (18:25 -0500)]
PINES Cust: Add shortname to alerts

Add the short name of the library who created an alert to
the alert line in the patron summary bar.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization: Set default damaged billing type
McCanna [Wed, 20 Dec 2017 22:35:40 +0000 (17:35 -0500)]
PINES Customization: Set default damaged billing type

This sets the default billing type when marking an item damaged to
'Damaged Materials' which is ID 106 in our database.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization: Set default patron permission group
Terran McCanna [Thu, 21 Dec 2017 20:16:35 +0000 (15:16 -0500)]
PINES Customization: Set default patron permission group

This should only affect new patron accounts.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization: Require patron identification
Terran McCanna [Thu, 21 Dec 2017 20:40:46 +0000 (15:40 -0500)]
PINES Customization: Require patron identification

Requires something to be entered in the ID value field

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization: Require Parent/Guardian Field
Terran McCanna [Thu, 21 Dec 2017 22:43:10 +0000 (17:43 -0500)]
PINES Customization: Require Parent/Guardian Field

This shows a warning on screen if a juvenile patron doesn't have
the parent/guardian field filled in (although it doesn't actually
require it).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoNew Books List - Change to Wording
Terran McCanna [Wed, 27 Dec 2017 18:19:46 +0000 (13:19 -0500)]
New Books List - Change to Wording
When no copies available, change wording from 'on order' to
'not available - ask at desk'

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Cust: Damaged popup button colors
Terran McCanna [Wed, 27 Dec 2017 18:49:53 +0000 (13:49 -0500)]
PINES Cust: Damaged popup button colors

Changed Charge / No Charge buttons to different color in response
to staff expressing confusion about which button would submit.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Cust: Reset Patron Search Form with Defaults
Terran McCanna [Wed, 27 Dec 2017 20:58:15 +0000 (15:58 -0500)]
PINES Cust: Reset Patron Search Form with Defaults

Change code to refresh page instead of clearing individual fields,
which resets fields to the defaults we want (inactive checked and
org unit to consortium).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoMy Account Bills Screen
McCanna [Wed, 20 Dec 2017 19:52:19 +0000 (14:52 -0500)]
My Account Bills Screen

This fixes column header conflict between old changes and new.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization: Hide Barred Checkbox on New Patron Reg
McCanna [Wed, 20 Dec 2017 18:57:44 +0000 (13:57 -0500)]
PINES Customization: Hide Barred Checkbox on New Patron Reg

Hide the barred checkbox when creating a new patron account because
it is unnecessary. Display it only when editing accounts.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoHide Patron Search Button on Place Hold Screen
McCanna [Wed, 20 Dec 2017 18:53:53 +0000 (13:53 -0500)]
Hide Patron Search Button on Place Hold Screen

The functionality is currently broken (LP Bug 1724052) so hiding
the button until it is fixed.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoFix for PINES-Specific Holdings Sort Order
McCanna [Wed, 20 Dec 2017 18:45:44 +0000 (13:45 -0500)]
Fix for PINES-Specific Holdings Sort Order

See Tom Berezansky's original fix at:
http://git.evergreen-ils.org/?p=evergreen/pines.git;a=commit;h=adc566e152d10796b73c992a16ae46e69cc3ab77

Some changes to the base code required this fix to be updated.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoadding new CONTAINER_BATCH_UPDATE perm to appropriate groups
Chris Sharp [Wed, 20 Dec 2017 17:38:23 +0000 (12:38 -0500)]
adding new CONTAINER_BATCH_UPDATE perm to appropriate groups

6 years agoLP#1735807 Webstaff holdings owning lib shortname
Bill Erickson [Fri, 1 Dec 2017 19:20:57 +0000 (14:20 -0500)]
LP#1735807 Webstaff holdings owning lib shortname

Display org unit shortnames in the web staff bib record Holdings View
-> Owning Library column, since displaying the full names requires
significant horizontal space.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
6 years agoLP#1736763: Wait until the org tree is there before using it
Mike Rylander [Mon, 11 Dec 2017 21:21:39 +0000 (16:21 -0500)]
LP#1736763: Wait until the org tree is there before using it

In offline mode, we need to wait for the org tree to be fetched or recreated
before we set the working location dropdown.  This commit adds a function
to loop and wait for that to happen.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoremove offline blocked list download button
Chris Sharp [Tue, 19 Dec 2017 14:07:07 +0000 (09:07 -0500)]
remove offline blocked list download button

6 years agoRevert "Re-apply fix for Fix for org unit order in OPAC holdings list"
Chris Sharp [Mon, 18 Dec 2017 19:37:12 +0000 (14:37 -0500)]
Revert "Re-apply fix for Fix for org unit order in OPAC holdings list"

This reverts commit 83aef4b5a3714c87080de52082b9327036271ba7.

6 years agoRe-apply fix for Fix for org unit order in OPAC holdings list
Chris Sharp [Mon, 18 Dec 2017 18:25:50 +0000 (13:25 -0500)]
Re-apply fix for Fix for org unit order in OPAC holdings list

6 years agoRevert "Fix for org unit order in OPAC holdings list (adapted from"
Chris Sharp [Mon, 18 Dec 2017 16:43:00 +0000 (11:43 -0500)]
Revert "Fix for org unit order in OPAC holdings list (adapted from"

This reverts commit 02778825199abf50891b4c247cb65526fbe6824b.

6 years agocorrect schema for trigger function
Chris Sharp [Sun, 10 Dec 2017 01:56:48 +0000 (20:56 -0500)]
correct schema for trigger function

6 years agoLP#1729922: correctly display most recent transit in item status
Galen Charlton [Fri, 8 Dec 2017 15:29:40 +0000 (10:29 -0500)]
LP#1729922: correctly display most recent transit in item status

This patch ensures that the 'Most Recent Transit' display in
the web staff client's item status page shows the latest transit,
not the oldest one. This also fixes a bug where the transit
receive time never got displayed.  As a side effect, this patch
also ensures that only the transit in question is fetched from
the database, not all transits on the item.

To test
-------
[1] Set up an item with some closed transits and display in in
    detail view in the Item Status page. Note that the
    /oldest/ transit is displayed and that the transit
    receive time field is blank.
[2] Apply the patch and repeat step 1.
[3] This time, the most recent transit should be displayed, and
    if that transit was received, the receive time should be
    displayed.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoPINES already has 1077
Chris Sharp [Thu, 7 Dec 2017 14:32:08 +0000 (09:32 -0500)]
PINES already has 1077

6 years agoPINES OPAC Fix: Holdings Navigation
McCanna [Mon, 4 Dec 2017 22:51:00 +0000 (17:51 -0500)]
PINES OPAC Fix: Holdings Navigation

Add in OPAC code from Master to calculate the number of copies.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoadding PINES PO file
Chris Sharp [Mon, 27 Nov 2017 19:57:50 +0000 (14:57 -0500)]
adding PINES PO file

6 years agoPINES Customization: Offline Transactions Alert
McCanna [Thu, 23 Nov 2017 00:11:28 +0000 (19:11 -0500)]
PINES Customization: Offline Transactions Alert

Make text larger so that it is more obvious and easier to read.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Receipt Template Customizations for Web Client
Chris Sharp [Thu, 2 Nov 2017 10:56:47 +0000 (06:56 -0400)]
PINES Receipt Template Customizations for Web Client

Additional receipt template default changes.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Search Results Customization: Display List Link
McCanna [Wed, 22 Nov 2017 21:36:39 +0000 (16:36 -0500)]
PINES Search Results Customization: Display List Link

Display Add to List link even though it isn't completely
functional.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agolp#1724321 Web Client -- existence of record with duplicate TCN does not prevent...
blake [Thu, 9 Nov 2017 15:35:07 +0000 (15:35 +0000)]
lp#1724321 Web Client -- existence of record with duplicate TCN does not prevent import

This routes the MARC import execution back to the z39.50 code instead of using the generic
MARC editor. This will make use of open-ils.cat.biblio.record.xml.import instead of pcrud.

Test
1. Edit global flag variable "Cat: Use Internal ID for TCN Value" = false
2. Perform a z39.50 search, click a result and click "import"
3. Step two should be successful, now import it again and you should get an error
4. Click the same result but use "Edit then import"
5. From the MARC editor, make no changes and click "Import"
6. It won't complain about duplicate TCNs
7. Apply the patch
8. Perform steps 4 and 5
9. Notice that the editor does not allow you to import the record

Signed-off-by: blake <blake@mobiusconsortium.org>
6 years agoPINES Receipt Template Customizations for Web Client
Chris Sharp [Thu, 2 Nov 2017 10:56:47 +0000 (06:56 -0400)]
PINES Receipt Template Customizations for Web Client

Corrected branch error

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoStaff Client Customization: Browser Tab Naming
McCanna [Wed, 8 Nov 2017 22:07:00 +0000 (17:07 -0500)]
Staff Client Customization: Browser Tab Naming

Changed tab names from Evergreen Staff XXX to PINES: XXX

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoStaff Client Customization: Backdate Checkin Alert
McCanna [Wed, 8 Nov 2017 21:27:08 +0000 (16:27 -0500)]
Staff Client Customization: Backdate Checkin Alert

Makes onscreen checkin alert more obvious.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoStaff Client Customization: Change Wording on PreCat Form
McCanna [Wed, 8 Nov 2017 21:15:55 +0000 (16:15 -0500)]
Staff Client Customization: Change Wording on PreCat Form

Change 'ISBN' to 'Call Number' on field label.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoStaff Client Customization: Hide Delete Patrons Button
McCanna [Wed, 8 Nov 2017 20:57:21 +0000 (15:57 -0500)]
Staff Client Customization: Hide Delete Patrons Button

Hide Delete Patrons button from user buckets (function was
not allowed by permissions, so no need to even show it).

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoStaff Client Customization: Search Menu Wording
McCanna [Wed, 8 Nov 2017 20:51:03 +0000 (15:51 -0500)]
Staff Client Customization: Search Menu Wording

Changed Basic Search to Advanced Search to more accurately
reflect the screen it goes to.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoStaff Client Customization: Patron Registration Form Tweaks
McCanna [Wed, 8 Nov 2017 20:35:19 +0000 (15:35 -0500)]
Staff Client Customization: Patron Registration Form Tweaks

- Fixed alignment of checkboxes.
- Hid Claims returned on new patron registration form.
- Hid Claims never checked out.
- Made survey drop 'up' instead of dropdown so it
  doesn't disappear off of page.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoStaff Client Customization: Hide Booking Menu
McCanna [Wed, 8 Nov 2017 15:36:01 +0000 (10:36 -0500)]
Staff Client Customization: Hide Booking Menu

Hid Booking as a menu option since we don't use it in PINES.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoKPAC Config File: Feature Page Reset
McCanna [Wed, 8 Nov 2017 15:36:01 +0000 (10:36 -0500)]
KPAC Config File: Feature Page Reset

Fresh version of kpac.xml file ready for upgrade to 3.0.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoOPAC Customization: My Lists
McCanna [Wed, 8 Nov 2017 14:35:46 +0000 (09:35 -0500)]
OPAC Customization: My Lists

Reset customizations to master and reapplied PINES help tips.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>