working/Evergreen.git
8 years agoLP#1697954: Enable clientsort for user items out lists user/miker/lp-1697954-client_side_grid_sort
Mike Rylander [Wed, 14 Jun 2017 15:53:11 +0000 (11:53 -0400)]
LP#1697954: Enable clientsort for user items out lists

These will generally be small, so we'll fetch all the data to support client-
side sorting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1697954: Enable clientsort for user holds lists
Mike Rylander [Wed, 14 Jun 2017 15:51:53 +0000 (11:51 -0400)]
LP#1697954: Enable clientsort for user holds lists

These will generally be small, so we'll fetch all the data to support client-
side sorting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1697954: Enable clientsort for checkout
Mike Rylander [Wed, 14 Jun 2017 15:51:24 +0000 (11:51 -0400)]
LP#1697954: Enable clientsort for checkout

This list is filled by the user, so it's safe to use client-side sorting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1697954: Provide custom comparator for sorting money on renew
Mike Rylander [Wed, 14 Jun 2017 16:07:52 +0000 (12:07 -0400)]
LP#1697954: Provide custom comparator for sorting money on renew

mbts.balance_owed often arrives as a string, so we provide here a custom
comparator function that runs the values through parseFloat() before comparing
them.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1697954: Enable clientsort for renew
Mike Rylander [Wed, 14 Jun 2017 15:50:52 +0000 (11:50 -0400)]
LP#1697954: Enable clientsort for renew

This list is filled by the user, so it's safe to use client-side sorting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1697954: Enable clientsort for pending patrons
Mike Rylander [Wed, 14 Jun 2017 15:50:08 +0000 (11:50 -0400)]
LP#1697954: Enable clientsort for pending patrons

This list always retreives all data, so it's safe to use client-side sorting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1697954: Provide custom comparator for sorting money on checkin
Mike Rylander [Wed, 14 Jun 2017 16:11:27 +0000 (12:11 -0400)]
LP#1697954: Provide custom comparator for sorting money on checkin

mbts.balance_owed often arrives as a string, so we provide here a custom
comparator function that runs the values through parseFloat() before comparing
them.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1697954: Enable clientsort for checkin
Mike Rylander [Wed, 14 Jun 2017 15:49:12 +0000 (11:49 -0400)]
LP#1697954: Enable clientsort for checkin

This list is filled by the user, so it's safe to use client-side sorting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1697954: Enable clientsort for item status list
Mike Rylander [Wed, 14 Jun 2017 15:47:48 +0000 (11:47 -0400)]
LP#1697954: Enable clientsort for item status list

This list is filled by the user, so it's safe to use client-side sorting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1697954: Provide client-side sorting for grids that can use it
Mike Rylander [Wed, 14 Jun 2017 15:32:36 +0000 (11:32 -0400)]
LP#1697954: Provide client-side sorting for grids that can use it

There are several grids (items out, checkin, checkout, item status, etc) that
could benefit from the ability to sort their items, but either the data
provider uses a complex data structure or an API call that doesn't offer
sorting, or the item list is populated by user input rather than a call to the
server.  In those cases, sorting is not available.  However, if we know that
all the data in the grid is in client memory, it would be reasonable to offer
a client-side sort option.

This commit does that by teaching the grid to accept a "clientsort" feature
and teaching arrayNotifier how to sort the items currently stored.  The sort
works over any mix of IDL objects, hashes, and flattened fields, supports
multisort, and pushes "nulls" to the end of the list.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agooffline: keep working location and workstation in sync
Mike Rylander [Tue, 13 Jun 2017 19:10:37 +0000 (15:10 -0400)]
offline: keep working location and workstation in sync

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agooffline: Rename Details to Debug
Mike Rylander [Tue, 13 Jun 2017 17:45:21 +0000 (13:45 -0400)]
offline: Rename Details to Debug

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agooffline: adjust offline service worker caching
Mike Rylander [Tue, 13 Jun 2017 14:56:49 +0000 (10:56 -0400)]
offline: adjust offline service worker caching

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agooffline: hotkeys, block reasons, optional bypass of barcode errors, pending xacts...
Mike Rylander [Mon, 12 Jun 2017 21:12:38 +0000 (17:12 -0400)]
offline: hotkeys, block reasons, optional bypass of barcode errors, pending xacts alert, and more

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: move nav bar hotkey work into the controller so we can ng-if them if we...
Mike Rylander [Mon, 12 Jun 2017 21:12:33 +0000 (17:12 -0400)]
webstaff: move nav bar hotkey work into the controller so we can ng-if them if we like

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agooffline: force-save outstanding transactions on patron registration to avoid losing...
Mike Rylander [Mon, 12 Jun 2017 17:05:45 +0000 (13:05 -0400)]
offline: force-save outstanding transactions on patron registration to avoid losing data

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: make chron caption directive that can be linked
Galen Charlton [Mon, 12 Jun 2017 16:56:53 +0000 (12:56 -0400)]
webstaff: make chron caption directive that can be linked

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: adjust add special/following issue modal title
Galen Charlton [Mon, 12 Jun 2017 15:11:29 +0000 (11:11 -0400)]
webstaff: adjust add special/following issue modal title

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: adjust title of serials bind/receive/barcode modal
Galen Charlton [Mon, 12 Jun 2017 15:05:47 +0000 (11:05 -0400)]
webstaff: adjust title of serials bind/receive/barcode modal

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoBunch of UI improvements: date restriction, progress dialogs, next-focus, success...
Mike Rylander [Fri, 9 Jun 2017 21:54:20 +0000 (17:54 -0400)]
Bunch of UI improvements: date restriction, progress dialogs, next-focus, success/fail toasts, and more

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoserials: discourage create of act with null loan_duration or fine_level
Galen Charlton [Fri, 9 Jun 2017 19:06:01 +0000 (15:06 -0400)]
serials: discourage create of act with null loan_duration or fine_level

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: start a shared serials string file
Galen Charlton [Fri, 9 Jun 2017 18:27:56 +0000 (14:27 -0400)]
webstaff: start a shared serials string file

Also ensure that the pattern template editor uses it,
as a previous commit ended up breaking it by adding uses of
strings to the core serials service.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoserials: fix IDL link between sstr and sunit
Galen Charlton [Fri, 9 Jun 2017 18:07:14 +0000 (14:07 -0400)]
serials: fix IDL link between sstr and sunit

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agooffline: Add light-weight tablesorter; Enable barcode checking; Add confirmation...
Mike Rylander [Thu, 8 Jun 2017 21:55:41 +0000 (17:55 -0400)]
offline: Add light-weight tablesorter; Enable barcode checking; Add confirmation before clearing pending transactions; Improve layout of offline interfaces

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agooffline: Use the workstation org unit as the default home library; copy barcode to...
Mike Rylander [Thu, 8 Jun 2017 19:54:01 +0000 (15:54 -0400)]
offline: Use the workstation org unit as the default home library; copy barcode to user name

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: improve editing issuances
Galen Charlton [Fri, 2 Jun 2017 22:06:09 +0000 (18:06 -0400)]
webstaff: improve editing issuances

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: add 'Add Special Issue' button for non-predicted issues
Galen Charlton [Fri, 2 Jun 2017 21:47:53 +0000 (17:47 -0400)]
webstaff: add 'Add Special Issue' button for non-predicted issues

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: make iss holding_type and adhoc orthogonal concepts
Galen Charlton [Fri, 2 Jun 2017 21:10:54 +0000 (17:10 -0400)]
webstaff: make iss holding_type and adhoc orthogonal concepts

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: go ahead and start new sub with one distribution
Galen Charlton [Fri, 2 Jun 2017 20:26:42 +0000 (16:26 -0400)]
webstaff: go ahead and start new sub with one distribution

Similarly, ensure that each new distribution has a stream

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: fix barcode-less issue receiving
Galen Charlton [Fri, 2 Jun 2017 20:20:37 +0000 (16:20 -0400)]
webstaff: fix barcode-less issue receiving

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: serials -- allow changing the issuance type to ad-hoc
Mike Rylander [Wed, 31 May 2017 18:18:05 +0000 (14:18 -0400)]
webstaff: serials -- allow changing the issuance type to ad-hoc

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: typo!
Mike Rylander [Wed, 31 May 2017 18:17:34 +0000 (14:17 -0400)]
webstaff: typo!

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: use sub start date as default first pub date for new sub
Galen Charlton [Wed, 31 May 2017 17:10:28 +0000 (13:10 -0400)]
webstaff: use sub start date as default first pub date for new sub

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: add predictions after last item, not last displayed item
Mike Rylander [Wed, 31 May 2017 17:02:21 +0000 (13:02 -0400)]
webstaff: add predictions after last item, not last displayed item

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: do not require patron for renew in offline mode
Mike Rylander [Wed, 31 May 2017 16:44:07 +0000 (12:44 -0400)]
webstaff: do not require patron for renew in offline mode

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: offline in house use improvements
Mike Rylander [Wed, 31 May 2017 16:39:25 +0000 (12:39 -0400)]
webstaff: offline in house use improvements

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: move prev/next buttons on pattern wizard
Galen Charlton [Wed, 31 May 2017 16:09:31 +0000 (12:09 -0400)]
webstaff: move prev/next buttons on pattern wizard

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: constrain select length when inside a bootstrap component
Mike Rylander [Wed, 31 May 2017 16:03:19 +0000 (12:03 -0400)]
webstaff: constrain select length when inside a bootstrap component

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: correct merge error of idl.Clone (and also simplify it); protect against...
Mike Rylander [Wed, 31 May 2017 15:51:37 +0000 (11:51 -0400)]
webstaff: correct merge error of idl.Clone (and also simplify it); protect against deleted or missing data

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoclone check change
Mike Rylander [Wed, 31 May 2017 15:29:36 +0000 (11:29 -0400)]
clone check change

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: tweak styling of pattern template save
Galen Charlton [Wed, 31 May 2017 15:39:58 +0000 (11:39 -0400)]
webstaff: tweak styling of pattern template save

8 years agowebstaff: Offline mode
Mike Rylander [Mon, 20 Mar 2017 20:38:15 +0000 (16:38 -0400)]
webstaff: Offline mode

Here is implemented an offline mode interface for the web staff client.

It is made available during both network and server outages by using the
UpUp[1] service worker wrapper.

We leverage Lovefield[2] for local storage of library settings, configuration
data, offline transactions, and the standalone offline block list.

In order to make use of the offline interface, users should first log into
the web staff client and navigate to the "Search -> Search for Patrons"
interface, perform a search, select a user from the results, and open the
Patron Editor interface.  This will allow the offline interface to collect
all the relevant configuration information for the workstation.  In addition,
the offline interface available from the Circulation menu provides a "Download
block list" button when accessed while logged in.

[1]https://www.talater.com/upup/
[2]https://google.github.io/lovefield/

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoReplace baseline asset.copy.id fkey constraints with ones that understand inheritance...
Mike Rylander [Mon, 24 Apr 2017 16:40:37 +0000 (12:40 -0400)]
Replace baseline asset.copy.id fkey constraints with ones that understand inheritance, and change all existing contstraints to do the same via upgrade script.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: better tooltips inside Link MHFD dialog
Jason Etheridge [Tue, 30 May 2017 15:52:20 +0000 (11:52 -0400)]
webstaff: better tooltips inside Link MHFD dialog

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: join filter for angular templates
Jason Etheridge [Tue, 30 May 2017 15:51:51 +0000 (11:51 -0400)]
webstaff: join filter for angular templates

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: quick-receive from catalog record
Mike Rylander [Fri, 26 May 2017 20:32:23 +0000 (16:32 -0400)]
webstaff: quick-receive from catalog record

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: implement import patterns from bibliographic/mfhd records
Galen Charlton [Thu, 25 May 2017 22:45:01 +0000 (18:45 -0400)]
webstaff: implement import patterns from bibliographic/mfhd records

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: add Predict New Issues button to predictions tab
Galen Charlton [Thu, 25 May 2017 17:54:09 +0000 (13:54 -0400)]
webstaff: add Predict New Issues button to predictions tab

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: move add_issuances() to core service
Galen Charlton [Thu, 25 May 2017 17:48:56 +0000 (13:48 -0400)]
webstaff: move add_issuances() to core service

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Conflicts:
Open-ILS/web/js/ui/default/staff/serials/services/core.js

8 years agowebstaff: Serials drop-down button in OPAC record
Jason Etheridge [Thu, 25 May 2017 17:57:58 +0000 (13:57 -0400)]
webstaff: Serials drop-down button in OPAC record

and remove the placeholder Manage Subscription link

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: make bind/receive smarter; allow individual item receive/bind selection...
Mike Rylander [Thu, 25 May 2017 17:16:02 +0000 (13:16 -0400)]
webstaff: make bind/receive smarter; allow individual item receive/bind selection in modal

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: service-ize item receiving for use in other UIs
Mike Rylander [Thu, 25 May 2017 16:22:27 +0000 (12:22 -0400)]
webstaff: service-ize item receiving for use in other UIs

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Receiving data sanity, and form validation
Mike Rylander [Thu, 25 May 2017 01:08:38 +0000 (21:08 -0400)]
webstaff: Receiving data sanity, and form validation

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Add routing list printing on receive/bind and directly from the action...
Mike Rylander [Thu, 25 May 2017 00:39:52 +0000 (20:39 -0400)]
webstaff: Add routing list printing on receive/bind and directly from the action menu

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoallow routing list printing UI to live in the web staff client
Mike Rylander [Thu, 25 May 2017 00:38:22 +0000 (20:38 -0400)]
allow routing list printing UI to live in the web staff client

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoallow naming an afterload function in the iframe
Mike Rylander [Thu, 25 May 2017 00:37:17 +0000 (20:37 -0400)]
allow naming an afterload function in the iframe

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoFix checkbox/action confusion
Mike Rylander [Thu, 25 May 2017 00:36:42 +0000 (20:36 -0400)]
Fix checkbox/action confusion

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: add MFHD tab to serials management page
Galen Charlton [Tue, 23 May 2017 22:00:12 +0000 (18:00 -0400)]
webstaff: add MFHD tab to serials management page

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: teach MARC editor more about SREs
Galen Charlton [Tue, 23 May 2017 21:59:18 +0000 (17:59 -0400)]
webstaff: teach MARC editor more about SREs

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: global services for managing MFHDs + create MFHD dialog
Galen Charlton [Tue, 23 May 2017 21:58:44 +0000 (17:58 -0400)]
webstaff: global services for managing MFHDs + create MFHD dialog

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: UI for delete subscription
Jason Etheridge [Tue, 23 May 2017 21:37:44 +0000 (17:37 -0400)]
webstaff: UI for delete subscription

and distribution and stream

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: clean up unused tabs
Mike Rylander [Tue, 23 May 2017 20:46:37 +0000 (16:46 -0400)]
webstaff: clean up unused tabs

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoserials: API for safe deleting subscriptions
Jason Etheridge [Mon, 22 May 2017 21:28:17 +0000 (17:28 -0400)]
serials: API for safe deleting subscriptions

and distributions and streams.

open-ils.serial.subscription.safe_delete
open-ils.serial.distribution.safe_delete
open-ils.serial.stream.safe_delete
open-ils.serial.subscription.safe_delete.dry_run
open-ils.serial.distribution.safe_delete.dry_run
open-ils.serial.stream.safe_delete.dry_run

Won't delete if there are attached serial.item's with a status other
than Expected, or if there are any attached non-deleted serial.unit's.

dry_run variants behave exactly the same except they don't actually
delete anything.

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: Provide "reset" method for serial items
Mike Rylander [Tue, 23 May 2017 15:33:51 +0000 (11:33 -0400)]
webstaff: Provide "reset" method for serial items

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Default receiving callnumber to last created; UI cleanup
Mike Rylander [Tue, 23 May 2017 14:48:37 +0000 (10:48 -0400)]
webstaff: Default receiving callnumber to last created; UI cleanup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: collect receiving data in one modal
Mike Rylander [Mon, 22 May 2017 23:19:00 +0000 (19:19 -0400)]
webstaff: collect receiving data in one modal

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: receiving template associated with distribution now displays
Galen Charlton [Mon, 22 May 2017 21:22:44 +0000 (17:22 -0400)]
webstaff: receiving template associated with distribution now displays

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: fix grid refresh upon linking binding template
Galen Charlton [Mon, 22 May 2017 20:25:13 +0000 (16:25 -0400)]
webstaff: fix grid refresh upon linking binding template

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: ad hoc issuances (no scap) and general cleanup
Mike Rylander [Mon, 22 May 2017 14:02:11 +0000 (10:02 -0400)]
webstaff: ad hoc issuances (no scap) and general cleanup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Serials -- allow issuances (ad hoc) that have no scap
Mike Rylander [Mon, 22 May 2017 13:56:06 +0000 (09:56 -0400)]
webstaff: Serials -- allow issuances (ad hoc) that have no scap

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: receiving fixes, proceeding
Mike Rylander [Thu, 18 May 2017 23:58:07 +0000 (19:58 -0400)]
webstaff: receiving fixes, proceeding

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: binding and receiving, logic based on XUL code
Mike Rylander [Thu, 18 May 2017 23:26:26 +0000 (19:26 -0400)]
webstaff: binding and receiving, logic based on XUL code

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: provide an id -> item map for simpler lookup
Mike Rylander [Thu, 18 May 2017 23:25:50 +0000 (19:25 -0400)]
webstaff: provide an id -> item map for simpler lookup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Teach grid to always show checkbox menu items, and adjust style a bit
Mike Rylander [Thu, 18 May 2017 23:24:45 +0000 (19:24 -0400)]
webstaff: Teach grid to always show checkbox menu items, and adjust style a bit

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Apply Binding Template for distributions
Jason Etheridge [Thu, 18 May 2017 22:06:31 +0000 (18:06 -0400)]
webstaff: Apply Binding Template for distributions

and fix Receiving and Binding Template columns in the Subscription Manager grid

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: fix Owning Lib for new Serials Templates
Jason Etheridge [Thu, 18 May 2017 18:06:08 +0000 (14:06 -0400)]
webstaff: fix Owning Lib for new Serials Templates

instead of using the workstation lib, use the library from the list filter

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agowebstaff: remove Edit Offset from actions
Jason Etheridge [Tue, 16 May 2017 18:36:25 +0000 (14:36 -0400)]
webstaff: remove Edit Offset from actions

and fix typo for offset in the subscriptions area

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agowebstaff: serials Receiving Template selector
Jason Etheridge [Tue, 16 May 2017 13:15:28 +0000 (09:15 -0400)]
webstaff: serials Receiving Template selector

under Manage Subscriptions

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agowebstaff: Allow jumping between pages
Mike Rylander [Thu, 18 May 2017 16:23:57 +0000 (12:23 -0400)]
webstaff: Allow jumping between pages

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Filter by serial item status, and page through items server-side
Mike Rylander [Thu, 18 May 2017 16:01:18 +0000 (12:01 -0400)]
webstaff: Filter by serial item status, and page through items server-side

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: correct green-field duplicateprediction
Mike Rylander [Wed, 17 May 2017 20:31:28 +0000 (16:31 -0400)]
webstaff: correct green-field duplicateprediction

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: fix thinko; chron labels now can be set when starting prediction
Galen Charlton [Tue, 16 May 2017 20:06:04 +0000 (16:06 -0400)]
webstaff: fix thinko; chron labels now can be set when starting prediction

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: serialize $u values as text
Galen Charlton [Tue, 16 May 2017 19:57:43 +0000 (15:57 -0400)]
webstaff: serialize $u values as text

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: improvements to creating prediction from pattern template
Galen Charlton [Tue, 16 May 2017 19:42:02 +0000 (15:42 -0400)]
webstaff: improvements to creating prediction from pattern template

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Confirm before deleting; Allow prediction from empty list
Mike Rylander [Tue, 16 May 2017 18:40:02 +0000 (14:40 -0400)]
webstaff: Confirm before deleting; Allow prediction from empty list

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Ability to generate a count of predictions, edit issuances, and add a singl...
Mike Rylander [Tue, 16 May 2017 16:50:24 +0000 (12:50 -0400)]
webstaff: Ability to generate a count of predictions, edit issuances, and add a single following issuance

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Repair new API for gathering predictions without saving them
Mike Rylander [Tue, 16 May 2017 16:49:42 +0000 (12:49 -0400)]
webstaff: Repair new API for gathering predictions without saving them

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Add the ability to edit the holding code, type, and pub date of an issuance
Mike Rylander [Mon, 15 May 2017 21:21:14 +0000 (17:21 -0400)]
webstaff: Add the ability to edit the holding code, type, and pub date of an issuance

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: serials code cleanup and removing an inf digest loop
Mike Rylander [Mon, 15 May 2017 20:28:29 +0000 (16:28 -0400)]
webstaff: serials code cleanup and removing an inf digest loop

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Teach serials perl to predict for "current" issue, not just future
Mike Rylander [Mon, 15 May 2017 20:27:47 +0000 (16:27 -0400)]
webstaff: Teach serials perl to predict for "current" issue, not just future

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: service addition for generating holding codes, seeded or unseeded
Mike Rylander [Fri, 12 May 2017 20:34:33 +0000 (16:34 -0400)]
webstaff: service addition for generating holding codes, seeded or unseeded

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Provide a way to get shallow (no nested objects) clones from IDL objects
Mike Rylander [Thu, 4 May 2017 20:59:07 +0000 (16:59 -0400)]
webstaff: Provide a way to get shallow (no nested objects) clones from IDL objects

This will have an impact on the webstaff offline interface, which has a similar
but less advanced implementation of the same.  We want THIS one going forward,
not the one from offline.  HEAD'S UP!

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstasff: start serials Issues tab
Mike Rylander [Wed, 10 May 2017 19:27:58 +0000 (15:27 -0400)]
webstasff: start serials Issues tab

Just a grid for now.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: implement creating scap from a pattern template
Galen Charlton [Fri, 12 May 2017 21:59:02 +0000 (17:59 -0400)]
webstaff: implement creating scap from a pattern template

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Link MFHD action
Jason Etheridge [Fri, 12 May 2017 14:29:11 +0000 (10:29 -0400)]
webstaff: Link MFHD action

under Manage Subscriptions

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agowebstaff: Clone Subscription action
Jason Etheridge [Thu, 11 May 2017 03:23:59 +0000 (23:23 -0400)]
webstaff: Clone Subscription action

under Manage Subscriptions

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agowebstaff: implement fetcher for pattern templates
Galen Charlton [Thu, 11 May 2017 21:26:43 +0000 (17:26 -0400)]
webstaff: implement fetcher for pattern templates

The method open-ils.serial.pattern_template.retrieve.at
takes a org unit ID and returns the set of patterns visible
to it.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: add admin interface for managing serial pattern templates
Galen Charlton [Wed, 10 May 2017 21:37:21 +0000 (17:37 -0400)]
webstaff: add admin interface for managing serial pattern templates

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: teach egEditFmRecord how to use custom template for a field
Galen Charlton [Wed, 10 May 2017 21:36:44 +0000 (17:36 -0400)]
webstaff: teach egEditFmRecord how to use custom template for a field

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: implement saving pattern as a template
Galen Charlton [Tue, 9 May 2017 20:34:48 +0000 (16:34 -0400)]
webstaff: implement saving pattern as a template

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>