]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
8 years agolp1422802: Improve visibility of parts on Place Holds screen
Kathy Lussier [Sat, 14 Feb 2015 19:10:54 +0000 (14:10 -0500)]
lp1422802: Improve visibility of parts on Place Holds screen

Users often miss the list of parts on the Place Holds screen, leading to
many title-level holds on records where only one or two libraries have
'unparted' copies. This branch adds some styling to add padding around the
parts selector and to bold the Select a Part text. Many thanks to Christine
Morgan whose custom work at NOBLE served as an inspiration for this styling.

The branch also adds a new config.tt2 option to display parts with
radio buttons instead of a select menu so that all of the parts will display on
the screen. With this option, no parts are pre-selected, forcing the users to
actively choose a part.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
8 years agoLP#1526547 Re-broaden backdate note setting
Dan Wells [Tue, 9 Feb 2016 15:22:46 +0000 (10:22 -0500)]
LP#1526547 Re-broaden backdate note setting

The previous commit missed a case where we still want the backdate
message to appear.  Let's recentralize it, but at a different level.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1526547 Improve note setting for backdates
Dan Wells [Thu, 28 Jan 2016 19:49:42 +0000 (14:49 -0500)]
LP#1526547 Improve note setting for backdates

The backdate note was the default note for voiding and adjusting, but
this proved to be an unexpected default.

Let's set the note only where we need it, and also genericize the
wording to cover both voiding and adjusting.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1526547 Prevent bogus notes when adjusting lost/lod overdues
Dan Wells [Fri, 14 Dec 2012 18:39:21 +0000 (13:39 -0500)]
LP#1526547 Prevent bogus notes when adjusting lost/lod overdues

If you void/adjust an overdue, but don't supply a reason, the code
automatically adds "VOIDED FOR BACKDATE" to the billing note. This is
obviously wrong for overdues adjusted or voided due to lost (or long
overdue) processing.

This commit simply adds a more appropriate note.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1516867: set limit on when HTML report output sorting
Galen Charlton [Fri, 20 Nov 2015 21:26:05 +0000 (21:26 +0000)]
LP#1516867: set limit on when HTML report output sorting

To avoid taking an excessive amount of time to render an
HTML report or sort its values, dynamic sorting is enabled
only when there are at most 10,000 rows of output.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
8 years agoLP#1516867 Make HTML report tables sortable
Dan Scott [Tue, 17 Nov 2015 03:20:28 +0000 (22:20 -0500)]
LP#1516867 Make HTML report tables sortable

Using the sortable JavaScript library from https://github.com/hubspot/sortable
(MIT license), we can make HTML reports much more usable by making them
sortable by clicking on the column headers. This should save some downloading
of CSV or Excel versions of the reports.

To test:

[1] Create or use a report template and generate an HTML report; ensure
    that the report has at most 10,000 rows of output.
[2] View the report output and click on one of the column headings;
    verify that the table sorts itself by that column's values.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
8 years agowebstaff: add angular-file-saver to test manifest
Galen Charlton [Wed, 3 Feb 2016 17:17:30 +0000 (12:17 -0500)]
webstaff: add angular-file-saver to test manifest

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoDocs: small leveloffset fix for root.txt
Yamil Suarez [Wed, 3 Feb 2016 04:35:53 +0000 (23:35 -0500)]
Docs: small leveloffset fix for root.txt

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: web client copy buckets documentation
Jennifer Pringle [Fri, 29 Jan 2016 03:24:59 +0000 (22:24 -0500)]
Docs: web client copy buckets documentation

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agowebstaff: fix more cases where new copies weren't being saved
Galen Charlton [Tue, 2 Feb 2016 00:53:43 +0000 (19:53 -0500)]
webstaff: fix more cases where new copies weren't being saved

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: work around race condition in vol/copy editor
Galen Charlton [Tue, 2 Feb 2016 00:19:46 +0000 (19:19 -0500)]
webstaff: work around race condition in vol/copy editor

Fix (or workaround) issue whereby the volume/copy editor
could fail to select a copy's current stat cats.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: clean up console noise
Galen Charlton [Mon, 1 Feb 2016 16:43:09 +0000 (11:43 -0500)]
webstaff: clean up console noise

Ensure that if a default stat cat OU filter is not set,
that errors aren't logged when creating a new volume/copy.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: fix issue that prevent new copies from being added
Galen Charlton [Fri, 29 Jan 2016 23:38:53 +0000 (18:38 -0500)]
webstaff: fix issue that prevent new copies from being added

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add copy ID column to holdings table and volcopy editor
Galen Charlton [Thu, 28 Jan 2016 23:33:34 +0000 (18:33 -0500)]
webstaff: add copy ID column to holdings table and volcopy editor

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add circulate as MARC type column to holdings table
Galen Charlton [Thu, 28 Jan 2016 23:21:57 +0000 (18:21 -0500)]
webstaff: add circulate as MARC type column to holdings table

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add prefix, suffix, and parts columns to holdings table
Galen Charlton [Thu, 28 Jan 2016 23:06:19 +0000 (18:06 -0500)]
webstaff: add prefix, suffix, and parts columns to holdings table

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: ensure that volcopy editor saves copy part maps
Galen Charlton [Thu, 28 Jan 2016 22:46:36 +0000 (17:46 -0500)]
webstaff: ensure that volcopy editor saves copy part maps

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add circulating library as optional column in holdings view
Galen Charlton [Thu, 28 Jan 2016 19:46:15 +0000 (14:46 -0500)]
webstaff: add circulating library as optional column in holdings view

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: copy template fix
Galen Charlton [Thu, 28 Jan 2016 19:32:56 +0000 (14:32 -0500)]
webstaff: copy template fix

This patches fixes applying the volume portion of a
template when in the copy template tab of the volume/copy
editor.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: fix updating stat cats in the volume/copy editor
Galen Charlton [Thu, 28 Jan 2016 19:13:27 +0000 (14:13 -0500)]
webstaff: fix updating stat cats in the volume/copy editor

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: expose ascecm to open-ils.pcrud
Galen Charlton [Thu, 28 Jan 2016 19:11:08 +0000 (14:11 -0500)]
webstaff: expose ascecm to open-ils.pcrud

Doing this allows the volume/copy editor to use
pcrud to retrieve copies with stat_cat_entries fleshed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: fix selection of stat cats in copy editor and templates
Galen Charlton [Thu, 28 Jan 2016 17:44:37 +0000 (12:44 -0500)]
webstaff: fix selection of stat cats in copy editor and templates

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: fix setting default copy status for new items
Galen Charlton [Wed, 27 Jan 2016 22:36:37 +0000 (17:36 -0500)]
webstaff: fix setting default copy status for new items

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: consolidate code for generate new copies
Galen Charlton [Wed, 27 Jan 2016 21:38:33 +0000 (16:38 -0500)]
webstaff: consolidate code for generate new copies

This patch does a bit of refactoring to get rid of
some copy-and-paste code that creates new copies
in the volume/copy editor.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: fix console noise spawned by OU selector
Galen Charlton [Tue, 26 Jan 2016 22:44:32 +0000 (17:44 -0500)]
webstaff: fix console noise spawned by OU selector

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: tweak setting default classification scheme in volcopy editor
Galen Charlton [Tue, 26 Jan 2016 22:34:03 +0000 (17:34 -0500)]
webstaff: tweak setting default classification scheme in volcopy editor

With this patch, the volume/copy editor creation default for
classification scheme now can have a value of "Use Library Setting".
If this is in effect, the default classification scheme for new
volumes is taken from the library setting.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add more volume transfer options
Galen Charlton [Tue, 26 Jan 2016 22:01:21 +0000 (17:01 -0500)]
webstaff: add more volume transfer options

The volume/copy editor now has the following new actions:

  * (Transfer) Volumes to Previously Marked Record
  * (Transfer) Volumes to Previously Marked Record and Library

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add a Transfer Copies to Previously Marked Library action
Galen Charlton [Tue, 26 Jan 2016 21:13:27 +0000 (16:13 -0500)]
webstaff: add a Transfer Copies to Previously Marked Library action

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: grab default call number from bib when creating volume
Galen Charlton [Tue, 26 Jan 2016 19:06:57 +0000 (14:06 -0500)]
webstaff: grab default call number from bib when creating volume

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: save copy templates now unconditional
Galen Charlton [Tue, 26 Jan 2016 18:06:14 +0000 (13:06 -0500)]
webstaff: save copy templates now unconditional

The save copy templates button in the volume/copy editor
no longer requires that a working template be active; this
way, users can save the set of templates after an import
without having to select one of them first.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: implement import/export of copy templates
Galen Charlton [Mon, 25 Jan 2016 23:34:54 +0000 (18:34 -0500)]
webstaff: implement import/export of copy templates

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add egJsonExporter directive
Galen Charlton [Mon, 25 Jan 2016 23:30:48 +0000 (18:30 -0500)]
webstaff: add egJsonExporter directive

This directive is used to allow a piece of JSON
to be saved to the user's filesystem.  For example:

<span eg-json-exporter container="foo" default-file-name="example.json">Export</span>

specifies a button that, when click, allows the user to save
the contents of the scope variable foo.  The dialog that
appears will use "example.json" as the default filename.

This also adds a new dependency, the MIT-licensed
 angular-file-saver service written by Philipp Alferov:

https://alferov.github.io/angular-file-saver/

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: style file input buttons more nicely
Galen Charlton [Mon, 25 Jan 2016 20:41:52 +0000 (15:41 -0500)]
webstaff: style file input buttons more nicely

Using technique devised by Cory LaViska per
http://www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3/

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: fixed client-side sorting of names in add-to-bucket dialog
Galen Charlton [Thu, 21 Jan 2016 22:42:47 +0000 (17:42 -0500)]
webstaff: fixed client-side sorting of names in add-to-bucket dialog

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: alphabetize status and location dropdowns in copy-editor
Galen Charlton [Thu, 21 Jan 2016 22:31:46 +0000 (17:31 -0500)]
webstaff: alphabetize status and location dropdowns in copy-editor

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: display floating group correctly in item status
Galen Charlton [Thu, 21 Jan 2016 22:20:43 +0000 (17:20 -0500)]
webstaff: display floating group correctly in item status

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add copy editor support for floating field
Galen Charlton [Thu, 21 Jan 2016 22:15:53 +0000 (17:15 -0500)]
webstaff: add copy editor support for floating field

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: rework Local Administration
Jason Etheridge [Mon, 4 Jan 2016 20:51:14 +0000 (15:51 -0500)]
webstaff: rework Local Administration

maintain links and labels as a data structure

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: tweak how element IDs in MARC editor are generated
Galen Charlton [Thu, 29 Oct 2015 23:24:35 +0000 (23:24 +0000)]
webstaff: tweak how element IDs in MARC editor are generated

For new records (or records that for whatever reason lack
a 901 field), use '0' as a dummy value for the record
ID when constructing element IDs (e.g., r0f5, r0f10sf0value,
etc.).  This fixes a problem where setCaret() couldn't
successfully change focus after adding a field or subfield
to a new record.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: users with negative balance
Bill Erickson [Mon, 5 Oct 2015 02:05:58 +0000 (22:05 -0400)]
webstaff: users with negative balance

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: Wire up statcat filtering in item attribute editor
Mike Rylander [Mon, 26 Oct 2015 16:13:45 +0000 (12:13 -0400)]
webstaff: Wire up statcat filtering in item attribute editor

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: open title from item status in a new tab
Mike Rylander [Fri, 23 Oct 2015 20:34:16 +0000 (16:34 -0400)]
webstaff: open title from item status in a new tab

Also, iindicate that will happen with an icon by the title link

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: Move new Vol Transfer UI menu option to "misc" section to avoid confusion
Mike Rylander [Fri, 23 Oct 2015 20:25:19 +0000 (16:25 -0400)]
webstaff: Move new Vol Transfer UI menu option to "misc" section to avoid confusion

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: Use the record id to fetch the summary record data in item status
Mike Rylander [Thu, 22 Oct 2015 20:03:26 +0000 (16:03 -0400)]
webstaff: Use the record id to fetch the summary record data in item status

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: for selected grids, allow display of 10000 items
Mike Rylander [Thu, 22 Oct 2015 15:42:15 +0000 (11:42 -0400)]
webstaff: for selected grids, allow display of 10000 items

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: enable copy edit link from opac view
Mike Rylander [Wed, 21 Oct 2015 21:53:21 +0000 (17:53 -0400)]
webstaff: enable copy edit link from opac view

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1508477: bump up minimum version of angular-hotkeys
Galen Charlton [Wed, 21 Oct 2015 17:39:08 +0000 (17:39 +0000)]
LP#1508477: bump up minimum version of angular-hotkeys

Version 1.3.0 of angular-hotkeys is now required, as this
is the version that introduces the ability the specify
that hotkeys can be used even when inputs, selects,
and textareas have focus.

After applying the patch (and doing a bower update,
grunt uglify, and install), one can test hotkeys in
the web staff client by (for example):

- starting from the home page and hitting F1 to
  get to patron search by barcode
- hitting F5 to get the item status page

Note that if the page embeds the OPAC or a Dojo
interface using an egEmbedFrame, if any element
of the iframe's content has focus, the hotkeys won't
work -- that will be the subject of another patch.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add another option for choosing volume transfer library
Galen Charlton [Tue, 20 Oct 2015 20:08:44 +0000 (20:08 +0000)]
webstaff: add another option for choosing volume transfer library

The actions menu on the holdings view now has two ways of
specifying a library to transfer volumes to:

 * Library as Volume Transfer Destination

   Pops up a modal with a library selector.

 * Library from Selection as Volume Transfer Destination

   Uses the currently selected volume's owning
   library to specify the target library.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: keep $scope.{pre,suf}fix as acnp/acns objects
Galen Charlton [Tue, 20 Oct 2015 19:39:10 +0000 (19:39 +0000)]
webstaff: keep $scope.{pre,suf}fix as acnp/acns objects

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: sort prefix/suffix selectors by sortkey
Galen Charlton [Tue, 20 Oct 2015 19:12:44 +0000 (19:12 +0000)]
webstaff: sort prefix/suffix selectors by sortkey

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: update volume prefix/suffix selectors
Galen Charlton [Tue, 20 Oct 2015 19:08:33 +0000 (19:08 +0000)]
webstaff: update volume prefix/suffix selectors

Ensuring that when the owning library changes that
the selectors for the volume prefix and suffix
refelect the options available to that OU.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: browser client: remove pending label from closed dates
Bill Erickson [Mon, 5 Oct 2015 01:35:25 +0000 (21:35 -0400)]
webstaff: browser client: remove pending label from closed dates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: browser client: Remove closed dates editor XUL-y requirements
Bill Erickson [Mon, 5 Oct 2015 01:34:01 +0000 (21:34 -0400)]
webstaff: browser client: Remove closed dates editor XUL-y requirements

Replace JSAN date functions with manual, inline date formatting
functions.  Remove JSAN and XUL constants requirements.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: browser client: misc. new links
Bill Erickson [Wed, 30 Sep 2015 01:57:40 +0000 (21:57 -0400)]
webstaff: browser client: misc. new links

field documentation
group penalty threshold
hold policies
library settings edito
noncat types
action/trigger
search filter group
stat cats editor

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: browser client local admin additions
Bill Erickson [Sun, 9 Aug 2015 22:59:00 +0000 (18:59 -0400)]
webstaff: browser client local admin additions

* copy locations editor
* copy locations groups
* copy locations order
* copy template editor
* auto-print settings (new UI)

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: browser: closed dates / research missing dump() func
Bill Erickson [Wed, 29 Jul 2015 13:33:26 +0000 (09:33 -0400)]
webstaff: browser: closed dates / research missing dump() func

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: browser client local admin re-org 2
Bill Erickson [Sat, 25 Jul 2015 18:11:00 +0000 (14:11 -0400)]
webstaff: browser client local admin re-org 2

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: browser client local admin re-org; adding new links
Bill Erickson [Sat, 25 Jul 2015 18:10:37 +0000 (14:10 -0400)]
webstaff: browser client local admin re-org; adding new links

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: browser client: starting local admin landing page
Bill Erickson [Fri, 24 Jul 2015 02:35:47 +0000 (22:35 -0400)]
webstaff: browser client: starting local admin landing page

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: browser client: age to lost UI
Bill Erickson [Mon, 20 Jul 2015 01:38:07 +0000 (21:38 -0400)]
webstaff: browser client: age to lost UI

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: Browser client: integrate address alert HTML UI
Bill Erickson [Wed, 15 Jul 2015 02:04:39 +0000 (22:04 -0400)]
webstaff: Browser client: integrate address alert HTML UI

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: Typo in method name for volume transfer
Mike Rylander [Mon, 19 Oct 2015 13:46:42 +0000 (09:46 -0400)]
webstaff: Typo in method name for volume transfer

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: Label field "Owning Library" instead of "Library" in call number area
Mike Rylander [Mon, 19 Oct 2015 13:45:50 +0000 (09:45 -0400)]
webstaff: Label field "Owning Library" instead of "Library" in call number area

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: teach egOrgSelector how to be sticky
Galen Charlton [Fri, 16 Oct 2015 22:21:14 +0000 (22:21 +0000)]
webstaff: teach egOrgSelector how to be sticky

In order to make the org unit selector in the holdings view
to be "sticky", the egOrgSelector directive now accepts an
optional stickySetting attribute specifying the name of a
preference key for storing the last selected org unit.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: when FF input gains focus, select contents
Galen Charlton [Fri, 16 Oct 2015 18:02:39 +0000 (18:02 +0000)]
webstaff: when FF input gains focus, select contents

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: fix org unit selectors in vol/copy editor
Mike Rylander [Thu, 15 Oct 2015 19:36:56 +0000 (15:36 -0400)]
webstaff: fix org unit selectors in vol/copy editor

Restrict owning and circ lib selection to only those orgs
that have can_have_vols true for their org type

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: Force refresh from server on copy delete
Mike Rylander [Wed, 14 Oct 2015 16:03:28 +0000 (12:03 -0400)]
webstaff: Force refresh from server on copy delete

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: be explicit about fast-add availability
Mike Rylander [Tue, 13 Oct 2015 20:00:48 +0000 (16:00 -0400)]
webstaff: be explicit about fast-add availability

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: use activateItem to open the vol/copy editor
Mike Rylander [Tue, 13 Oct 2015 18:06:03 +0000 (14:06 -0400)]
webstaff: use activateItem to open the vol/copy editor

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: typo preventing a setting from working
Mike Rylander [Tue, 13 Oct 2015 16:24:55 +0000 (12:24 -0400)]
webstaff: typo preventing a setting from working

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: inform on record save failure, and mark the page clean on successful save
Mike Rylander [Tue, 13 Oct 2015 16:24:29 +0000 (12:24 -0400)]
webstaff: inform on record save failure, and mark the page clean on successful save

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: make sure copy_notes() contains an array before pushing to it
Mike Rylander [Tue, 13 Oct 2015 15:41:12 +0000 (11:41 -0400)]
webstaff: make sure copy_notes() contains an array before pushing to it

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: improve styling of aligned grid columns to avoid cell overlap
Mike Rylander [Tue, 13 Oct 2015 15:30:48 +0000 (11:30 -0400)]
webstaff: improve styling of aligned grid columns to avoid cell overlap

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: highlight currently active position in phys char wizard
Galen Charlton [Mon, 12 Oct 2015 21:12:08 +0000 (21:12 +0000)]
webstaff: highlight currently active position in phys char wizard

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: allow batch copy attribute editing across bib records
Mike Rylander [Mon, 12 Oct 2015 20:10:04 +0000 (16:10 -0400)]
webstaff: allow batch copy attribute editing across bib records

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: make webstaff grid menus scrollable
Galen Charlton [Mon, 12 Oct 2015 15:08:05 +0000 (15:08 +0000)]
webstaff: make webstaff grid menus scrollable

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: Mark new copy notes as new, so they will save.
Mike Rylander [Fri, 9 Oct 2015 19:51:11 +0000 (15:51 -0400)]
webstaff: Mark new copy notes as new, so they will save.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: Typo fix (Catagories)
Mike Rylander [Fri, 9 Oct 2015 17:33:09 +0000 (13:33 -0400)]
webstaff: Typo fix (Catagories)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: A little spacing tweak to avoid overlapping UI elements in modals
Mike Rylander [Fri, 9 Oct 2015 16:07:29 +0000 (12:07 -0400)]
webstaff: A little spacing tweak to avoid overlapping UI elements in modals

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: Move the "Help" and "Stack Subfields" UI elements around a bit, to save...
Mike Rylander [Fri, 9 Oct 2015 15:47:52 +0000 (11:47 -0400)]
webstaff: Move the "Help" and "Stack Subfields" UI elements around a bit, to save space

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: CSS tweak - add padding belong MARC editor help button
Galen Charlton [Fri, 9 Oct 2015 14:54:19 +0000 (14:54 +0000)]
webstaff: CSS tweak - add padding belong MARC editor help button

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: disable non-OPAC-view tabs when doing catalog search
Galen Charlton [Fri, 9 Oct 2015 14:50:17 +0000 (14:50 +0000)]
webstaff: disable non-OPAC-view tabs when doing catalog search

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: improve MARC record deletion
Galen Charlton [Thu, 8 Oct 2015 21:28:53 +0000 (21:28 +0000)]
webstaff: improve MARC record deletion

The MARC editor now asks the user to confirm
whether to delete the record, and in the case of
deleting bibs, now uses open-ils.cat.biblio.record_entry.delete
so as to catch things like volumes still attached
to the bib and cancelling holds in the bib record.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add keyboard shortcut legend to MARC editor
Galen Charlton [Thu, 8 Oct 2015 19:23:36 +0000 (19:23 +0000)]
webstaff: add keyboard shortcut legend to MARC editor

Note that once we upgrade to angularjs-ui >= 0.13.0, using
a popover rather than a collapse might be better.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: tweak layout of the merge interface
Galen Charlton [Thu, 8 Oct 2015 16:43:42 +0000 (16:43 +0000)]
webstaff: tweak layout of the merge interface

The lead record is now displayed using the same sort
of tabset as the subordinate records. While, of course,
there can be only one lead record at a time, doing it
this way gives us two things:

[1] Display of the lead bib's ID
[2] Better vertical alignment of the MARC records

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: automatically advance focus in MARC editor
Galen Charlton [Thu, 8 Oct 2015 16:16:01 +0000 (16:16 +0000)]
webstaff: automatically advance focus in MARC editor

Upon completing a tag, indicator, or subfield code
input, focus will now automatically advance to the next
input, allowing users to enter records with less need
to use the tab button.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: Always accept double-dagger as a SF delimiter
Mike Rylander [Thu, 8 Oct 2015 15:14:10 +0000 (11:14 -0400)]
webstaff: Always accept double-dagger as a SF delimiter

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: another fix to focus-on-new-MARC-field
Galen Charlton [Thu, 8 Oct 2015 14:46:33 +0000 (14:46 +0000)]
webstaff: another fix to focus-on-new-MARC-field

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: fix setting focus when inserting a new MARC field
Galen Charlton [Thu, 8 Oct 2015 14:43:29 +0000 (14:43 +0000)]
webstaff: fix setting focus when inserting a new MARC field

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: make context menus in MARC editor scrollable
Galen Charlton [Thu, 8 Oct 2015 14:04:30 +0000 (14:04 +0000)]
webstaff: make context menus in MARC editor scrollable

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: make egGrid actions menu scrollable
Galen Charlton [Thu, 8 Oct 2015 14:04:13 +0000 (14:04 +0000)]
webstaff: make egGrid actions menu scrollable

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1464767 Browser client scrollable selectors
Bill Erickson [Tue, 16 Jun 2015 02:29:25 +0000 (22:29 -0400)]
LP#1464767 Browser client scrollable selectors

Adds a new scrollable-menu CSS class.  It's (provisionally?) limited to
larger screens, w/ the assumption that smaller screens handle scrolling
for you.

New class is applied to org unit selects only so far.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/templates/staff/css/style.css.tt2

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: implement subfield stacking in MARC editor
Galen Charlton [Thu, 8 Oct 2015 02:09:41 +0000 (02:09 +0000)]
webstaff: implement subfield stacking in MARC editor

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add session-stickiness for MARC template selector
Galen Charlton [Thu, 8 Oct 2015 01:10:35 +0000 (01:10 +0000)]
webstaff: add session-stickiness for MARC template selector

The new bib function now remembers the last MARC template
that was used for the lifetime of the browser tab.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: start teaching egHatch about sessionStorage
Galen Charlton [Thu, 8 Oct 2015 01:05:48 +0000 (01:05 +0000)]
webstaff: start teaching egHatch about sessionStorage

This patch adds getSessionItem(), setSessionItem(), and
removeSessionItem(), which are all wrappers around
$window.sessionStorage. This is done to support settings
whose values are sticky for the duration of a session,
which at present is the lifetime of the browser tab.

An alternative would be using session cookies; some user
testing is needed to see which lifetime makes the most
sense.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: improve how egVolumeList opens the vol/copy editor
Galen Charlton [Wed, 7 Oct 2015 21:01:51 +0000 (21:01 +0000)]
webstaff: improve how egVolumeList opens the vol/copy editor

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: teach volcopy editor how to set default item status
Galen Charlton [Wed, 7 Oct 2015 20:38:24 +0000 (20:38 +0000)]
webstaff: teach volcopy editor how to set default item status

It now consults the cat.default_copy_status_fast and
cat.default_copy_status_normal library settings as appropriate.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: add ability to edit copies to the record merge interface
Galen Charlton [Wed, 7 Oct 2015 20:01:18 +0000 (20:01 +0000)]
webstaff: add ability to edit copies to the record merge interface

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: teach egVolumeList more tricks
Galen Charlton [Wed, 7 Oct 2015 20:00:08 +0000 (20:00 +0000)]
webstaff: teach egVolumeList more tricks

The directive now accepts two new attributes:

* editVolumes - controls display of the 'Edit volumes' button
* editCopies - if true, adds a 'Edit volumes and copies button'

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: require SSL for /eg/staff/
Galen Charlton [Wed, 7 Oct 2015 19:27:02 +0000 (19:27 +0000)]
webstaff: require SSL for /eg/staff/

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>