Jason Stephenson [Thu, 24 May 2018 13:34:17 +0000 (09:34 -0400)]
LP
1772993: Ability to blank Age Hold Protection in Vol/Copy Editor.
Add the <NONE> option to the age-based hold protection field in the
web staff client Vol/Copy Editor.
To test:
1. Add a value for age-based hold protection to a copy.
2. Attempt to remove the value in the copy editor. Note that the
dropdown does not allow you to do so.
3. Apply this commit.
4. Repeat step 2. Now there is a <NONE> option that removes the value
from the copy.
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Kyle Huckins [Tue, 1 May 2018 18:28:36 +0000 (18:28 +0000)]
lp1759327 Populate Copy Templates Floating Dropdown
- Add update watcher and call itemSvc.get_floating_groups within
egVolTemplate directive to properly populate dropdown when accessing
volcopy editor from local administration.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Jeff Davis [Tue, 24 Apr 2018 21:00:07 +0000 (14:00 -0700)]
LP#
1749996: add option to remove floating in web client copy editor
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Jason Etheridge [Tue, 10 Jul 2018 23:46:04 +0000 (19:46 -0400)]
lp1739286 default search box in Z39.50
This change tweaks the layout of search fields in the web client Z39.50
interface and adds radio buttons for the default search field to auto-focus.
The behavior is "sticky" without the need for an explicit Save action. If the
current default field is not present due to a given combination of selected
services, then no field will be focused by default.
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Jason Boyer [Mon, 9 Jul 2018 16:47:10 +0000 (12:47 -0400)]
LP1736243: SMS Carrier Editing in Patron Editor
The XUL Client treats many user setting entries as
quoted strings. Angular needs some help to recognize
that it needs to convert these incoming "strings"
to ints for use as the data model when editing. The
str-to-int directive gives it this hint.
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Terran McCanna [Mon, 9 Jul 2018 18:04:46 +0000 (14:04 -0400)]
PINES Syndetics Customization
This attempt leaves the Syndetics perl code in place to retrieve images,
but ignores it in favor of hardcoding in the Added Content button and
modal code on the item details page.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Chris Sharp [Tue, 10 Jul 2018 10:40:23 +0000 (06:40 -0400)]
Revert "PINES Customization for Syndetics"
This reverts commit
329d5d9dbd51d8bf2c7ab3b2e447e047ddd7e3a0.
Bill Erickson [Tue, 19 Jun 2018 18:23:42 +0000 (14:23 -0400)]
LP#
1751368 Items-out checkin of deleted copies
Allow deleted copies to be checked in from the patron items out list.
Checkin is based on copy ID instead of barcode. Note that both values
are sent to the server, to reduce the number of changes in the UI code,
but the API inspects the ID first.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Mike Rylander [Wed, 6 Dec 2017 23:18:29 +0000 (18:18 -0500)]
LP#
1730758: Track record visibility on all Located URI DML
This commit simplifies the handling of Located URI call numbers by separating
them from normal call numbers. This will allow proper updating of bib-level
visibility attributes for all actions that may happen to a Located URI.
We also insure that we don't return a NULL INT[] as an attribute set for
either copies or bibs. This was always impossible for copies, but was
possible for bibs. Now both are future-proof.
The upgrade script contains a post-transaction command to forcibly update the
visibility attributes of all bibs that make use of Located URIs. It may take
a while to run on large datasets. If it it running too long, it can be
canceled and the following psql commands will create and run a script that
will perform the same action serially over time without blocking writes to
bibs:
\t
\o /tmp/luri_visibility_update.sql
SELECT 'UPDATE biblio.record_entry SET ' ||
'vis_attr_vector = biblio.calculate_bib_visibility_attribute_set(id) ' ||
'WHERE id = ' || id || '; SELECT ' || id || ';'
FROM biblio.record_entry
WHERE id IN (
SELECT DISTINCT cn.record
FROM asset.call_number cn
WHERE NOT cn.deleted
AND cn.label = '##URI##'
AND EXISTS (
SELECT 1
FROM asset.uri_call_number_map m
WHERE m.call_number = cn.id
)
);
\o
\t
\i /tmp/luri_visibility_update.sql
It will output the id of each updated bib so that the script can be killed
and then edited to remove completed bibs. The remainder can be run at a
later time.
NOTE: When the internal flag 'ingest.reingest.force_on_same_marc' is enabled,
we do NOT update the bib's visibility attributes, as doing so causes a loop
and an eventual trigger stack violation. This flag should ONLY be used when
forcing reingest of record attributes (NOT visibility attributes), search,
facet, and display fields, so if using this flag under normal operation,
proceed at your own risk and know that Located URI and bib source changes
will not be reflected in the visibility attributes of the record.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Dan Pearl [Thu, 7 Jun 2018 18:20:49 +0000 (14:20 -0400)]
LP1739271 - Fix Item Edit when Part Present
Cannot edit item or call number after mono part
assigned. This was indeed a timing error where parts were referenced before
they were completely assigned to the structure in which they were to reside.
I have restructured the code to ensure the parts are available.
Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Bill Erickson [Mon, 8 Jan 2018 15:37:17 +0000 (10:37 -0500)]
LP#
1741072 Volcopy editor deposit amount format repairs
Use the new str-to-float formatter for deposit amount, consistent with
the other currency fields.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Garry Collum [Mon, 4 Jun 2018 21:37:58 +0000 (17:37 -0400)]
LP#
1721139 User Buckets - View Batch Changes date/time display not wrapping.
This fixes a wrapping issue in Firefox for the date/time display in the 'View Batch Changes' modal in user buckets. The css change was made to style.css.tt2 because the class can be used for other tables with text wrapping issues.
To test.
1. Using user buckets, make some batch changes on some patrons and roll back some of those changes.
2. Using Firefox, click on the 'View Batch Edits' button.
3. Apply patch.
4. Delete browser cache, and then log back in and 'View Batch Edits' again.
Signed-off-by: Garry Collum <gcollum@gmail.com>
McCanna [Tue, 5 Jun 2018 18:01:36 +0000 (14:01 -0400)]
PINES Customization for Syndetics
(This is attempt 3 - ignore previous attempts.)
- Eliminates unnecessary calls in the perlmod for all types of content.
- Creates new modal popup instead of creating tabbed links.
- Copies syndetics url & id to eg_vhost.conf for easier access by tt2.
- Updates extras.tt2 to always expand added content section if content.
Signed-off-by: McCanna <tmccanna@georgialibraries.org>
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Chris Sharp [Tue, 22 May 2018 19:16:59 +0000 (15:16 -0400)]
PINES does not use patron credit, so remove it from view
Chris Sharp [Mon, 14 May 2018 17:52:10 +0000 (13:52 -0400)]
Revert "temp fix for broken library locator"
This reverts commit
a1ab46766e8fcb313bc039ccf46313fcc8054334.
Chris Sharp [Mon, 14 May 2018 17:46:38 +0000 (13:46 -0400)]
temp fix for broken library locator
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Chris Sharp [Tue, 6 Mar 2018 15:12:44 +0000 (10:12 -0500)]
Re-add GALILEO features.
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
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>
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>
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>
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>
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>
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>
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>
Chris Sharp [Wed, 24 Jan 2018 17:34:46 +0000 (12:34 -0500)]
fix IP redirection by pulling the X-Real-IP header
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>
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>
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>
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>
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>
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>
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>
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>
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
Chris Sharp [Thu, 11 Jan 2018 19:09:27 +0000 (14:09 -0500)]
Revert "PINES Cust: Add shortname to alerts"
This reverts commit
b814b414a79e98d5be790d1ba52d5d1056928426.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Chris Sharp [Wed, 20 Dec 2017 17:38:23 +0000 (12:38 -0500)]
adding new CONTAINER_BATCH_UPDATE perm to appropriate groups
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>
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>
Chris Sharp [Tue, 19 Dec 2017 14:07:07 +0000 (09:07 -0500)]
remove offline blocked list download button
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.
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
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.
Chris Sharp [Sun, 10 Dec 2017 01:56:48 +0000 (20:56 -0500)]
correct schema for trigger function
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>
Chris Sharp [Thu, 7 Dec 2017 14:32:08 +0000 (09:32 -0500)]
PINES already has 1077
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>
Chris Sharp [Mon, 27 Nov 2017 19:57:50 +0000 (14:57 -0500)]
adding PINES PO file
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>
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>