berick [Wed, 4 May 2011 21:15:03 +0000 (17:15 -0400)]
Best Match w/ quality ratio merging
* Mew Best Match option in merge/overlay
* support for upload time minimum record quality ratio
* We now /only/ create new records if no matches exist and the user
selected a match-free import
* Selecting a match-free import no longer trumps other merge imports.
They both work together now.
TODO: find out why queued record quality is not getting set at queued
rec creation time.
Mike Rylander [Wed, 4 May 2011 00:23:57 +0000 (20:23 -0400)]
Clean up uses of vandelay.incoming_record_quality to provide all required params; Remove matched_set on matches, just look at the match_set for the queue of the vandelay record in question
berick [Mon, 2 May 2011 16:52:30 +0000 (12:52 -0400)]
Vandelay file upload page cleanup
* Separate data configuration parameters from import actions
* Since import item profile is linked to queue, show the profile for
the selected queue and dissallow changing the profile for existing
queues in the UI (which has no effect)
added new stub actions for limit-to-import-errors and show all item import errors; displaying new summary info; much rearrangement to bettet fit the UI pieces
Mike Rylander [Fri, 22 Apr 2011 16:55:37 +0000 (12:55 -0400)]
Secondary sort by quality ratio (higher means incoming is more "good" than existing) instead of simple incoming quality, which is a no-op (all the same)
now we can retrieve a tree from the server and use it as the basis of
our dijit.Tree widget. Still work to be done. Can't save anything yet.
Note to self: borrow dojo dnd's "copy" operation (as opposed to move) to
mean replacing a node in the tree, rather than adding to the tree.
Re the permissions I changed, actual users of Evergreen hate having as
much granularity as there was before, and it just confuses people trying
to figure out what perms to give to whom.
Note to self 2: add ADMIN_IMPORT_MATCH_SET to ppl
Usability
1) the tree editor will only let bool_op nodes have children
2) you can't put the unset "dummy" node from the leftside onto the tree
incidentally, gave fm objects a toString method that identifies their
classname hint, as an aid to debugging in general
Dan Scott [Tue, 5 Jul 2011 15:08:31 +0000 (11:08 -0400)]
LP805971: Specify UTF8 encoding in password reset templates
As reported by Liam Whalen in Launchpad bug 805971: "The file
/openils/var/template/password-reset/reset-form.tt2 does not display
utf-8 characters. I modified it to include '<meta
http-equiv="Content-Type" content="text/html; charset=UTF-8" />' inside
the <head> tag, and the fr-CA version of the page now displays
correctly."
I duplicated the problem in Firefox 5 and confirmed that the addition of
the META tag corrects the problem.
Mike Rylander [Fri, 1 Jul 2011 15:50:25 +0000 (11:50 -0400)]
Normalize facet values
Spotted by Lebbeous Fogle-Weekley, facet values were not being normalized. This is due to changes in how facets are stored in 2.1+. This alternate implementation mirrors the way search_field index definitions work, which is a bit cleaner than inserting normalization into the field extraction process.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Jason Etheridge [Mon, 13 Jun 2011 19:51:18 +0000 (15:51 -0400)]
add Print button and associated template for Holdings Maintenance
wire up List Actions for Holdings Maintenance
* give List Actions support for nested rows in trees
* give util.list.print support for nested rows in trees
* we can leverage bib_brief_overlay to populate params.data for printing instead of fleshing out DOM
Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jason Etheridge [Thu, 9 Jun 2011 21:27:21 +0000 (17:27 -0400)]
Hold Notes column
New column in holds list UIs that allows staff to see at a glance the
(initial) text content of attached hold notes. In some cases, this
helps avoid the need to open the dedicated notes UI.
Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jason Etheridge [Wed, 29 Jun 2011 16:12:31 +0000 (12:12 -0400)]
Staff UI for batch holds on items.
"Request Item" action in Holdings Maintenance, Item Status, and Copy
Buckets is the entry-point. Works on selected items in the first two
interfaces and all items in the bucket for the latter. UI allows you
to place Copy type, Recall type, or Force type holds. It reports the #
of successes and breaks down the failures by failure event. You can
retry failures (optionally changing some of the request parameters
like Pickup Library) or "override" them. Clicking the hyperlink for
a set of failures will show the items involved in a new Item Status tab.
More technical blurbs from squashed commits:
* "open-ils.circ.holds.test_and_create.batch" Takes an argument hash and a list of targets. All the holds created will be identical except for the targets.
* retrieve and display Recall and Force holds like Copy holds
* give the Item Status UI an inefficient way to handle being passed copy id's (via xulG) in addition to barcodes
* wire-up item hold request ui
* place hold UI
Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com>
Michael Peters provided a patch to add some missing labels...
... to a key acquisitions interface. It works. Also fixed
some unclosed tags while I was at it.
Wasn't sure whether to copy and paste Michael's sign-off or what, but
here's the link to his original patch for purists:
https://launchpadlibrarian.net/74191964/0001-LP802578-Acquisitions-Batch-copy-update-missing-head.patch
Dan Scott [Fri, 24 Jun 2011 14:44:43 +0000 (10:44 -0400)]
Fix broken images for items without ISBNs in search results
The search results code happily sets the src attribute of the cover
image to an empty string (as returned by cleanISBN()) if currentISBN has
not been defined (which is generally the case if an item doesn't have an
ISBN, such as a DVD or a thesis or an old book).
Protect against the empty string and set the src attribute to
'/opac/images/blank.png' to avoid broken image indicators in search
results.
Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Mike Rylander <mrylander@gmail.com>
Jason Etheridge [Mon, 27 Jun 2011 18:41:52 +0000 (14:41 -0400)]
Saner behavior for Actions for Selected Holds -> Transfer to Marked Title
* Transfer the actual selected title holds, rather than all title holds for
the bibs referenced by those selected.
* middle layer method for changing the target and resetting specified holds
* label change for clarity, Transfer All Title Holds
Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Fri, 24 Jun 2011 15:27:26 +0000 (11:27 -0400)]
Option to generate lacking overdues on lost checkin
New org unit setting "circ.lost.generate_overdue_on_checkin".
This org unit setting enables retroactive overdue fine generation for
lost item checkin. When enabled, the system will generate overdue fines
starting from the date of the last created overdue fine for the
circulation and working its way up to the checkin time or stopping at
the max fine amount (consistent with regular overdue fine generation).
This differs from the existing org unit setting
"circ.restore_overdue_on_lost_return", which only un-voids existing
overdue fines.
Consider an item whose due date is the 1st, that gets marked lost on the
7th, then checked in on the 14th. If set,
"circ.restore_overdue_on_lost_return" would un-void the fines created up
to the 7th and "circ.lost.generate_overdue_on_checkin" would create new
overdue fines from the 7th up to the 14th (or up to the max fine
amount).
Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Mike Rylander <mrylander@gmail.com>
Jason Etheridge [Fri, 24 Jun 2011 19:40:32 +0000 (15:40 -0400)]
with scan missing pieces, retarget affected holds prior to recirculating to previous patron, lest the checkout reset the holds for us without retargeting
Signed-off-by: Jason Etheridge <jason@esilibrary.com> Signed-off-by: Bill Erickson <berick@esilibrary.com>