working/Evergreen.git
5 years agoLP#1357364: Allow for sites that may have the intarray extension already installed.
Chris Sharp [Fri, 15 Aug 2014 12:51:44 +0000 (08:51 -0400)]
LP#1357364: Allow for sites that may have the intarray extension already installed.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years ago2.7 doc asciidoc fix
Angela Kilsdonk [Thu, 18 Sep 2014 13:29:37 +0000 (08:29 -0500)]
2.7 doc asciidoc fix

Signed-off-by: Angela Kilsdonk <akilsdonk@esilibrary.com>
5 years agoDocs: updated root.txt to point to 2.7 release notes
Yamil Suarez [Wed, 17 Sep 2014 21:35:30 +0000 (17:35 -0400)]
Docs: updated root.txt to point to 2.7 release notes

Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years ago2.7 documentation from ESI
Angela Kilsdonk [Wed, 17 Sep 2014 20:54:31 +0000 (15:54 -0500)]
2.7 documentation from ESI

Documentation for Delayed vs Canceled Items, Report Editing, Report Hints, and Copy View/Edit Links.  Documentation written by Erica Rohlfs, Equinox Software, and Sally Fortin, Athenaeum Educational Services.

Signed-off-by: Angela Kilsdonk <akilsdonk@esilibrary.com>
5 years agoRelease notes repair to fix PDF build
Kathy Lussier [Tue, 16 Sep 2014 21:14:39 +0000 (17:14 -0400)]
Release notes repair to fix PDF build

Commit bb0aed2 did not fix our problem with the PDF build. Removing
quotes from the problem area to see if it fixes the issue.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
5 years agoDocumentation: Lost and Paid Status
Kathy Lussier [Sat, 13 Sep 2014 03:37:41 +0000 (23:37 -0400)]
Documentation: Lost and Paid Status

Adding docs for lost and paid status. These changes also moves the copy
statuses documentation up from the old 1.6 docs with the addition of the
long overdue and lost and paid statuses and includes some fixes to the
bills documentation.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
5 years agoDocs: EDI admin section updated with new screenshots and SANs info
Jennifer Pringle [Sat, 13 Sep 2014 03:41:57 +0000 (23:41 -0400)]
Docs: EDI admin section updated with new screenshots and SANs info

EDI admin section updated to include screenshots and information
regarding entering the SANs required for EDI to work.

Signed-off-by: Jennifer Pringle <jpringle@sitka.bclibraries.ca>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years agoDocs: Fix filenames to match references in the docs - second time
Josh Stompro [Sat, 13 Sep 2014 02:53:38 +0000 (22:53 -0400)]
Docs: Fix filenames to match references in the docs - second time

This is just like the fix that Remington Steed sent in on Sept 4th.

These images were creating errors for me when I try to create
an epub version of the docs because they are all referenced as .jpg
but the filenames were .JPG.

Signed-off-by: Josh Stompro <github@stompro.org>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years agoDocs: Staff generated penalties documentation
Kate Butler [Fri, 12 Sep 2014 21:45:43 +0000 (17:45 -0400)]
Docs: Staff generated penalties documentation

Signed-off-by: Kate Butler <katebutler@rodgerslibrary.org>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years agoDocs: Staff initials settings for patron notes
Kate Butler [Fri, 12 Sep 2014 20:39:32 +0000 (16:39 -0400)]
Docs: Staff initials settings for patron notes

Signed-off-by: Kate Butler <katebutler@rodgerslibrary.org>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years agoDocs: Documented change to Holds Shelf Expire Report
Yamil Suarez [Fri, 12 Sep 2014 19:51:28 +0000 (15:51 -0400)]
Docs: Documented change to Holds Shelf Expire Report

Thanks Joan Kranich

Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years agoMinor reparis to release notes and merge parts doscs
Kathy Lussier [Fri, 12 Sep 2014 19:20:59 +0000 (15:20 -0400)]
Minor reparis to release notes and merge parts doscs

We broke the Evergreen docs build and think it may be related to starting
a line with ``++V.1++''. This is an attempt to fix it.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
5 years agoBitesize doc change: .xlsx report output
Angela Kilsdonk [Fri, 12 Sep 2014 19:01:03 +0000 (14:01 -0500)]
Bitesize doc change: .xlsx report output

Signed-off-by: Angela Kilsdonk <akilsdonk@esilibrary.com>
5 years agoLP#1350042 browser unit tests use repo fm_IDL2js.xsl
Bill Erickson [Thu, 11 Sep 2014 17:56:32 +0000 (13:56 -0400)]
LP#1350042 browser unit tests use repo fm_IDL2js.xsl

Generate JS-friendly IDL2js for browser client unit tests from the .xsl
file within the repo instead of referencing the installed version, which
may not yet exist on the machine.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
5 years agoLP#1294269 Docs: Fixed small documentation formatting bugs
SnigdhaD [Thu, 11 Sep 2014 21:07:24 +0000 (17:07 -0400)]
LP#1294269 Docs: Fixed small documentation formatting bugs

Signed-off-by: SnigdhaD <snigdha.dagar@gmail.com>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years agoAcknowledge new contributor in 2.7 release notes
Ben Shum [Thu, 11 Sep 2014 06:35:42 +0000 (02:35 -0400)]
Acknowledge new contributor in 2.7 release notes

One more person to recognize now! Suzanne Paterno from 167f7f5

Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoTranslation updates - newpot
Ben Shum [Thu, 11 Sep 2014 06:22:17 +0000 (02:22 -0400)]
Translation updates - newpot

Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoTranslation updates - po files
Ben Shum [Thu, 11 Sep 2014 06:06:05 +0000 (02:06 -0400)]
Translation updates - po files

Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1241644: Remove xact_finish IS NULL checks from CLAIMSRETURNED and LONGOVERDUE
Jason Boyer [Fri, 18 Oct 2013 14:26:26 +0000 (10:26 -0400)]
LP#1241644: Remove xact_finish IS NULL checks from CLAIMSRETURNED and LONGOVERDUE

Makes open-ils.actor.user.checked_out(.count) results agree with
open-ils.storage.actor.user.checked_out(.count) results.

Signed-off-by: Jason Boyer <jboyer1@library.in.gov>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1081551 Serials batch recv. dupe barcode check
Bill Erickson [Fri, 11 Apr 2014 19:51:53 +0000 (15:51 -0400)]
LP#1081551 Serials batch recv. dupe barcode check

Exit processing and return an event if the barcode on a new serial.unit
collides with an existing serial.unit or asset.copy barcode in the
serial receive API.

In the UI, detect the dupe barcode event and provide an error message to
the user.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jennifer Pringle <jpringle@sitka.bclibraries.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agolp1335958 Remove parameters from current checkouts link
Kathy Lussier [Mon, 30 Jun 2014 18:57:29 +0000 (14:57 -0400)]
lp1335958 Remove parameters from current checkouts link

The limit and offset parameters can cause patrons to be stuck in a small
section of their current checkout lists. Let's remove those two parameters
when linking to that list from the patron dashboard.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jim Keenan <jkeenan@cwmars.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1190508: Rename certain image files to avoid Ad Block Plus's blacklist
Dan Pearl [Tue, 26 Aug 2014 20:07:41 +0000 (16:07 -0400)]
LP#1190508: Rename certain image files to avoid Ad Block Plus's blacklist

Ad Block Plus was blocking images with /images/adv_ in their pathname. It is
presumed that "adv" was short for "advertisement".  I have renamed the files
and the references to avoid the ABP blacklist.

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1350042 grid print CSV repair; all cols repair
Bill Erickson [Tue, 9 Sep 2014 18:39:51 +0000 (14:39 -0400)]
LP#1350042 grid print CSV repair; all cols repair

* repaired grid Print CSV action, which had not been updated with the
  latest print API.

* repair grid show/hide all columns actions.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoMove new color note to release notes 2.7
Ben Shum [Wed, 10 Sep 2014 21:03:11 +0000 (17:03 -0400)]
Move new color note to release notes 2.7

Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agolp1261791 Adjustment to background color for mobile search links
Kathy Lussier [Fri, 5 Sep 2014 23:26:22 +0000 (19:26 -0400)]
lp1261791 Adjustment to background color for mobile search links

Adding an id for the div surrounding mobile search links so that the
background color matches the color of the rest of the header.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoRelease notes entry for new mobile-header-text-color
Kathy Lussier [Fri, 5 Sep 2014 23:08:25 +0000 (19:08 -0400)]
Release notes entry for new mobile-header-text-color

Adding a release notes entry for the addition of mobile-header-text-color
in colors.tt2.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP 1261791 - Mobile Search links for my account screens
Suzanne Paterno [Wed, 20 Aug 2014 16:25:18 +0000 (12:25 -0400)]
LP 1261791 - Mobile Search links for my account screens

Added links for Basic, Advanced and Browse Searching from all my Account pages in a less than 600px view.:

Added a new color for the mobile search links, so users can modify based on their background color.

Signed-off-by: Suzanne Paterno <paterno@noblenet.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
5 years agoDocs: Fixed small typo in docs/reports/reporter_daemon.txt
Josh Stompro [Tue, 9 Sep 2014 19:32:55 +0000 (15:32 -0400)]
Docs: Fixed small typo in docs/reports/reporter_daemon.txt

Signed-off-by: Josh Stompro <github@stompro.org>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years agoDocs: Updated usage of autogen.sh to not use param 'u'
Josh Stompro [Tue, 9 Sep 2014 19:30:28 +0000 (15:30 -0400)]
Docs: Updated usage of autogen.sh to not use param 'u'

Signed-off-by: Josh Stompro <github@stompro.org>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years agoDocs: update to 'Address Alerts' feature content
Josh Stompro [Tue, 9 Sep 2014 19:13:47 +0000 (15:13 -0400)]
Docs: update to 'Address Alerts' feature content

Signed-off-by: Josh Stompro <github@stompro.org>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years agoRelease notes cleanup
Kathy Lussier [Fri, 5 Sep 2014 13:15:45 +0000 (09:15 -0400)]
Release notes cleanup

Cleanup to the 2.7 release notes, to include spelling corrections, moving
some content to the official docs, and adding acknowledgements at the end.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
5 years agoDocs: Fix filenames to match references in the docs
Remington Steed [Thu, 4 Sep 2014 19:21:06 +0000 (15:21 -0400)]
Docs: Fix filenames to match references in the docs

These image files were not displaying in the docs because the filenames
and the references used different capitalization. Web URLs are
case-sensitive, so this commit changes the image filenames to be all
lowercase.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
5 years agoLP#1350042 add missing ui-bootstrap dep to Gruntfile
Bill Erickson [Wed, 13 Aug 2014 16:41:40 +0000 (12:41 -0400)]
LP#1350042 add missing ui-bootstrap dep to Gruntfile

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1350042 Browser client templates/scripts (phase 1)
Bill Erickson [Mon, 4 Aug 2014 18:06:02 +0000 (14:06 -0400)]
LP#1350042 Browser client templates/scripts (phase 1)

 * Templates in Open-ILS/src/templates/staff/
 * JS files in Open-ILS/web/js/ui/default/staff/
 * Also includes a few TPAC modifications for embedded mode
 * Resurrects the pre-XUL user permission editor

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1350042 make_release -c for building browser client
Bill Erickson [Mon, 4 Aug 2014 18:03:07 +0000 (14:03 -0400)]
LP#1350042 make_release -c for building browser client

Adds support for fetching JS dependencies, minification, and
building of the experimental browser client via new -c option.
Browser client building is disabled by default.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1350042 link opensrf websockets JS scripts
Bill Erickson [Mon, 4 Aug 2014 18:02:22 +0000 (14:02 -0400)]
LP#1350042 link opensrf websockets JS scripts

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1350042 browser client apache config additions
Bill Erickson [Mon, 4 Aug 2014 17:24:37 +0000 (13:24 -0400)]
LP#1350042 browser client apache config additions

* Location configuratoin for /eg/staff templates
* Support for "stop-at-index" in EGWeb, so that navigating to "/eg/foo"
  can result in /eg/index.tt2 getting served.
* Cache and compress additions for /js files.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1350042 detect is-staff mode for browser client
Bill Erickson [Mon, 4 Aug 2014 17:16:02 +0000 (13:16 -0400)]
LP#1350042 detect is-staff mode for browser client

The browser client does not pass an OILS-Wrapper header to the embedded
catalog (etc.) so consider the presence of a workstation an indication
that the TPAC should operate in staff mode.

NOTE: this may require some additional thought, since this means all
TPACs within an authenticated browser will run in staff mode, which may
not be desired.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1350042 streaming holds pull list API
Bill Erickson [Mon, 4 Aug 2014 17:12:56 +0000 (13:12 -0400)]
LP#1350042 streaming holds pull list API

Adds an API name-based option to the standard holds pull list API to
respond with a stream of fleshed users, so the caller is not forced to
make additional fetch-by-ID calls to collect the holds data.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1350042 streaming patron search API
Bill Erickson [Mon, 4 Aug 2014 17:10:49 +0000 (13:10 -0400)]
LP#1350042 streaming patron search API

Adds an API name-based option to the standard patron search API to
respond with a stream of fleshed users, so the caller is not forced to
make additional fetch-by-ID calls to collect the user data.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1350042 PCRUD access for various IDL classes
Bill Erickson [Mon, 4 Aug 2014 17:08:22 +0000 (13:08 -0400)]
LP#1350042 PCRUD access for various IDL classes

These changes are mostly data retrieval and help support
PCRUD/auto-grid-style retrieval of certain patron data.

Classes affected:

actor::workstation
money::billable_transaction_summary
actor::usr_note
money::credit_card_payment
money::open_billable_transaction_summary
money::cash_payment
money::forgive_payment
action::hold_notification
money::credit_payment
config::non_cataloged_type
money::billable_transaction
money::work_payment
money::goods_payment
money::check_payment
money::payment
money::billing

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoDocs: added Address Alert documentation for local admin menu feature
Josh Stompro [Fri, 29 Aug 2014 17:43:22 +0000 (13:43 -0400)]
Docs: added Address Alert documentation for local admin menu feature

Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years agoFix broken prereq installer for debian wheezy user/dbs/fix_broken_Makefile_install
Dan Scott [Thu, 28 Aug 2014 13:40:54 +0000 (09:40 -0400)]
Fix broken prereq installer for debian wheezy

Problem found by live-tester scripts. Yay for live tests!

Signed-off-by: Dan Scott <dscott@laurentian.ca>
5 years agoLP#1282783: Use patron hold notification defaults for KPAC
Terran McCanna [Tue, 26 Aug 2014 21:58:52 +0000 (17:58 -0400)]
LP#1282783: Use patron hold notification defaults for KPAC

Since the KPAC interface doesn't display a patron's email/phone notification
preferences, we had initially assumed it was pulling in the patron's default
notification info, but we've found that it does not.

Emails are not sent to patrons who have their notification preferences set to
email, and hold slips print out without phone numbers or email addresses. This
causes extra work for Circ staff in processing incoming holds as they need to
look up each account number to get the patron's contact information.

This patch pulls in the patron's email & phone notification preferences and
related values in hidden fields and allows the patron to choose their pickup
library at time of hold placement (defaults to their preferred pickup location).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agolp949101 Hold Columns for Item Status
Michele Morgan [Wed, 27 Aug 2014 19:25:24 +0000 (15:25 -0400)]
lp949101 Hold Columns for Item Status

Fixes display of hold columns in Item Status Holds/Transit tab.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1362210: Install PostgreSQL packages where we can
Dan Scott [Mon, 25 Aug 2014 18:16:35 +0000 (14:16 -0400)]
LP#1362210: Install PostgreSQL packages where we can

Rather than relying on purely manual installation, carve out a common
set of packages that are needed by both the Evergreen server and the
standalone PostgreSQL server and add them as dependencies to both
scenarios. In the worst case, the package manager will see a package
that it has already installed and skip it (if the database server is on
the same OS instance as the Evergreen server).

It sure beats upgrading your database server and wondering why things
like the addition of call numbers fails with database query errors when
it turns out that you're missing the Library::CallNumber::LC Perl module
:)

It also makes the README shorter and requires fewer steps for users to
follow to install successfully. Win win win?

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1306675 TPAC maketext default handler
Bill Erickson [Thu, 15 May 2014 15:22:16 +0000 (11:22 -0400)]
LP#1306675 TPAC maketext default handler

Fall back to an unitialized maketext handler, which defaults to the
template language, when OpenILS::WWW::EGWeb::I18N->get_handle fails to
return a response.

Note that why get_handle() returns undef is not yet known.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1233757 Correct Spelling Error in Checkout Override Exception
Elliot Voris [Fri, 7 Mar 2014 02:55:56 +0000 (20:55 -0600)]
LP#1233757 Correct Spelling Error in Checkout Override Exception

Correcting a few misspellings of "overridden" in the staff client
override exception.

Signed-off-by: Elliot Voris <evoris@slcconline.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1010027: tweak patron columns in patron search interface
Jason Etheridge [Mon, 1 Oct 2012 20:49:04 +0000 (16:49 -0400)]
LP#1010027: tweak patron columns in patron search interface

specifically, remove the Mailing Address and Billing Address columns that come
off the actor table, since they are redundant with the Mailing Addr: Address ID
and Billing Addr: Address ID columns that come off the address table.

Also, alphabetize the columns coming directly off of the user table. The columns
coming off the library card and address tables remain unsorted; I believe their
order is as listed in the fm_IDL.xml file for their corresponding fieldmapper
definitions.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Jennifer Pringle <jpringle@sitka.bclibraries.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1010027: more internal options for xul lists
Jason Etheridge [Mon, 1 Oct 2012 20:46:56 +0000 (16:46 -0400)]
LP#1010027: more internal options for xul lists

specifically, give fm_columns a sort_headers flag for alphabetizing the columns
returned by label; and delete_me flag for omitting a column definition entirely

Not all xul lists are using fm_columns yet

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Jennifer Pringle <jpringle@sitka.bclibraries.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1189556: stamping upgrade script for URL_VERIFY description typo fix
Ben Shum [Wed, 27 Aug 2014 04:49:48 +0000 (00:49 -0400)]
LP#1189556: stamping upgrade script for URL_VERIFY description typo fix

Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1189556: Fix typo in URL_VERIFY permission description
Chris Sharp [Tue, 11 Jun 2013 14:09:20 +0000 (10:09 -0400)]
LP#1189556: Fix typo in URL_VERIFY permission description

The description for the URL_VERIFY permission contained a typo,
fixed here.

Added an upgrade sql to update the text.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1322341: Count part holds on records
Thomas Berezansky [Fri, 23 May 2014 19:40:23 +0000 (15:40 -0400)]
LP#1322341: Count part holds on records

Also fix a small mistake in metarecord matching

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1277551: Limit simplified pull list to available copies
Thomas Berezansky [Fri, 18 Apr 2014 13:46:13 +0000 (09:46 -0400)]
LP#1277551: Limit simplified pull list to available copies

Copies that are targeted by a hold but are not in available or reshelving
statuses should not show up on a pull list.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1314370: Enable dojo all the time in the catalog
Ben Shum [Wed, 30 Apr 2014 06:02:49 +0000 (02:02 -0400)]
LP#1314370: Enable dojo all the time in the catalog

Because we rely on the dojo framework for the shelving location filter in the
advanced search, we should choose to use dojo everywhere and not just when
autosuggest, google books, or novelist are enabled.

This is a quick change to toggle the flag for want_dojo to be set all the time.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
5 years agoLP1277556 Fast Item Add no longer opens record after copy is created
Blake Henderson [Tue, 1 Jul 2014 22:06:30 +0000 (17:06 -0500)]
LP1277556 Fast Item Add no longer opens record after copy is created

Altered save_attempt to handle undefined and true cases for replace_on_complete
When fastItemAdd is not used, replace_on_complete is undefined
When it is used, and successful, replace_on_complete will be set to true
then we need it to execute result.on_complete()

Signed-off-by: Blake Henderson <blake@mobiusconsortium.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP1084269, LP1050043 Expert Search Fixes
Liam Whalen [Sat, 28 Jun 2014 22:37:28 +0000 (15:37 -0700)]
LP1084269, LP1050043 Expert Search Fixes

Sorting Expert Search corrected

LP1050043 was issued because attempting to sort the MARC expert search
results, in the staff client, caused the staff client to return to the
basic search page rather than sort the results.

To fix the sorting I had to modify two perl files.

metabib.pm had to be changed in a number of ways.

1. The way the sort works currently assumes the user is doing a full
text search.  So, it passes in the values of titlesort and authorsort as
the sort variable in the URL.  However, in the expert search, it is
looking for the values 'title' and 'author'.  This resulted in the title
sort and author sort never being executed and returning the relevance
sort instead. I modified the search to use a regex instead of eq.

2. If a record has no value associated with it e.g. no 260 c for
pubdate, no 245 $a for title, no 1xx $a for author, then the SQL is
supposed to replace those values with either 'AAAA' or 'zzzz' depending
on the order of the sort.  This should cause records without the
relevant sort values to be pushed to the bottom of the sort results.

But, the PgSQL function COALESCE, which is supposed to do the
replacing, does not do anything if no rows are returned for a record's
relevant value.  To work around this, I surrounded the relevant values
with the MAX() function call, which returns NULL if no row is returned.

Because author sort works on any 1xx value, it sorts those values in
numerical order when there is more than one 1xx in a record.  This
requires the use of an ORDER BY statement, which seems to nullify
the effect of MAX().  So, I had to move the MAX() into a second SELECT
statement in the case of author sort.

3. I added the variables number_default_sort and string_default_sort
to the metabib code because the current code hard codes values of
'9999' and 'zzzzzzzz' into the sort.

Search.pm had to be changed to pass the sort values from the TPAC
into the relevant sort subroutines.  This was done with the addition of
an $arghash variable that checks the cgi parameters for the sort
variable.

As well, Expert search puts the tag and _special params in the
search form.  This causes all other searches to perform Expert searches
afterwords.  To fix this, Search.pm is modified to look for an empty
query value before it conducts an Expert search.  If it is empty and
the Expert search variables are present, then the Expert search is
performed.  Otherwise, a normal search is done.

Finally, to fix the problem reported by LP1050043, I had to modify
searchbar.tt2.  Currently, searchbar.tt2 does not have the values from
the Expert search entered into the <form> where the sort functionality
is located.  This means, when a sort option is chosen, the TPAC no
longer knows which values were used for the Expert search.

This is not obvious at first because after choosing to sort, the
user is returned to a page where the URL has the Expert search values
in it.  This happens because the sort is submitting a form without a
query value, so the TPAC redirects the user to the referring page,
which is the initial Expert search.

To fix this, I added the Expert search values as hidden variables
into the <form> where the sort functionality is located.  I also
removed the use of the "_adv" hidden variable from the <form> when
not in the advanced search.

[LP1094269] Retrive past 100 records in Expert Search

Currently, when paging through the results of the Expert search, the
system will not return more than 100 records.  Going past page 10
causes a no results screen.

This is due to the offset and limit values not being passed into the
argument hash used to create the SQL for the search.  Once the SQL
returns, it returns record ids within the range of the offset and
the limit. So, if the offset is 100 and the limit is 10, the record
ids for search results 100 to 109 are returned.

But, because offset and limit are not being passed into the arghash,
they default to 0 and 100 respectively.  This means the first 100
records are always returned regardless of where in the search pages
you are viewing.  These 100 results were then pruned to the relevant
10 results in Biblio.pm.  However, if the offset starts beyond 100
then no results are returned because the results passed 100 are not
returned by metabib.pm.

This commit passes the offset and limit as arguments in the search
hash.  It also removes offset and limit as parameters of the
search.biblio.marc call. Because offset and limit are needed in the
arghash to limit the number of records returned, it is better to
pass them only via the arghash to ensure that no more than the
necessary number of records are returned.

Offset and limit could be kept as parameters, but it would require
modifying metabib as well to look for those parameters, so I think
forcing the Expert search to pass them as argument parameters is the
better option.

As well, this commit removes the pruning in Biblio.pm that was based
on the offset and limit because that is handled in metabib.pm now
that offset and limit are being supplied in the argument hash.

I have checked the source code and the marc_search function in
Biblio.pm is only called via the Expert search in
WWW/EGCatLoader/Search.pm, so modifying Biblio.pm in this manner
will only affect the Expert search and nothing else.

Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Signed-off-by: Sarah Childs <sarahc@zionsvillelibrary.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agolp1182605 Add sort value for holds interfaces
Kathy Lussier [Tue, 19 Aug 2014 18:29:56 +0000 (14:29 -0400)]
lp1182605 Add sort value for holds interfaces

Holds interfaces were still sorting incorrectly, so let's add a sort value
there.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 years agolp1182605 Abstracting out common functionality from code that sorts call numbers...
Victoria Lewis [Wed, 30 Apr 2014 22:09:07 +0000 (15:09 -0700)]
lp1182605 Abstracting out common functionality from code that sorts call numbers by label_sortkey

Code had been added to insure that LC call numbers are sorting as they should by asset.call_number.label_sortkey.
Code was duplicated in the 'call_number column' in the 'columns' group and in the 'hold_columns'group.

I abstracted the logic out of 'sort_value' and 'render' in the 'call_number' column in the 'columns' group and from
'render' in the 'call_number' column in the 'hold_columns' group to a utility function  called
'sort_call_numbers_by_label_sortkey'.

Signed-off-by: Victoria Lewis <vcamklewis@gmail.com>
modified:   xul/staff_client/server/circ/util.js
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 years agoLP1182605 : LC call numbers sort improperly in tabular displays
Kyle Tomita [Mon, 2 Dec 2013 23:50:17 +0000 (15:50 -0800)]
LP1182605 : LC call numbers sort improperly in tabular displays

The issue was that the column was sorting on the label (call number)
and not label_sortkey.  An attribute 'sort_value' was added that used
label_sortkey.

Signed-off-by: Kyle Tomita <tomitakyle@gmail.com>
modified:   Open-ILS/xul/staff_client/server/circ/util.js
(cherry picked from commit 696ce9e6c36bffd1d8c884baab2f5d36687e741b)

Signed-off-by: Victoria Lewis <vcamklewis@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 years agoFix currently harmless but still confusing sigil error
Dan Wells [Mon, 7 Jul 2014 17:16:58 +0000 (13:16 -0400)]
Fix currently harmless but still confusing sigil error

get_org_descendants() returns an array ref, not a list, so it doesn't
make sense to assign it to an '@orgs' variable.  Lucky for us, our
where-parser treats this single element list containing the ref in the
same manner as the proper ref itself, but at best, it is still very
confusing to see.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
5 years agoLP#1078787 Fix serial scoping in TPAC
Dan Wells [Thu, 8 May 2014 20:18:11 +0000 (16:18 -0400)]
LP#1078787 Fix serial scoping in TPAC

If you have generated holdings, but are not using the "compressed"
display, your holdings show up regardless of scope.  This change
limits the display to only sdists with a holding_lib in your current
search scope.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
5 years agoLP#800478: Stamping upgrade script for fund transfer fix
Mike Rylander [Mon, 25 Aug 2014 17:44:55 +0000 (13:44 -0400)]
LP#800478: Stamping upgrade script for fund transfer fix

Signed-off-by: Mike Rylander <mrylander@gmail.com>
5 years agoLP#800478 repair logic error in acq fund transfer
Bill Erickson [Tue, 25 Feb 2014 17:23:13 +0000 (12:23 -0500)]
LP#800478 repair logic error in acq fund transfer

The source data for the amount applied to each allocation and transfer
(in certain circumstances) was incorrect.

The transfer amount should not be the total amount allocated from the
source to the fund, but instead the amount of the funding source credit
in cases where we have to pull money from multiple funding source
credits.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Liam Whalen <liam.whalen@bc.libraries.coop>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
5 years agoLP#1359934: prevent error opening patron search form
Galen Charlton [Thu, 21 Aug 2014 19:33:53 +0000 (12:33 -0700)]
LP#1359934: prevent error opening patron search form

As a result of the patch for OpenSRF bug 1316245, JSON2js
in the OpenSRF library is now stricter -- in particular, passing
an undefined value to it results in an exception being thrown.

This patch runs with the increased strictness and fixes an
issue where the patron search form was passing an undefined value
to JSON2js.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoDocs: Removed use of deprecated file suffix for eg_db_config in install docs
Yamil Suarez [Tue, 19 Aug 2014 21:13:08 +0000 (17:13 -0400)]
Docs: Removed use of deprecated file suffix for eg_db_config in install docs

Signed-off-by: Yamil Suarez <yamil@yamil.com>
5 years agoCompile release notes for Evergreen 2.7.0
Ben Shum [Thu, 14 Aug 2014 16:48:18 +0000 (12:48 -0400)]
Compile release notes for Evergreen 2.7.0

Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoPre-2.7 Release notes cleanup
Ben Shum [Thu, 14 Aug 2014 16:03:59 +0000 (12:03 -0400)]
Pre-2.7 Release notes cleanup

1) Fixing up formatting issues with the asciidoc
2) Remove extra words "New feature" from certain notes

Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoFixes for create_release_notes.sh
Ben Shum [Thu, 14 Aug 2014 16:36:16 +0000 (12:36 -0400)]
Fixes for create_release_notes.sh

1) Teach it to ignore the sample RELEASE_NOTES_NEXT.txt file
2) Add a proper section for "New Features" heading, instead of
   defaulting everything under the "Upgrade notes" heading.

Note: Will still require manually moving any upgrade notes to the
      right place post-compile.

Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1329503 text input repairs
Bill Erickson [Mon, 11 Aug 2014 15:04:43 +0000 (11:04 -0400)]
LP#1329503 text input repairs

* Correctly propagate values for text widget "in list" values when editing
  reports
* After entering a value for "in list" text widgets, clear the text
  input so the user can enter subsequent values w/o manually clearing.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
5 years agoLP#1329503 report edit scheduling repairs
Bill Erickson [Fri, 8 Aug 2014 17:57:09 +0000 (13:57 -0400)]
LP#1329503 report edit scheduling repairs

* ensure default values for scheduling and recurrence are applied with each
  edited report, including today's date in the scheduler.
* If the most recent report run run_time is in the past, deafult to "run
  now"
* fix bug with propagating months recurrence
* If recurrence interval is in days and divisible by 7, present as weeks
* make date regexes easier on the eyes
* fix bug with rendering sets of org units
* fixed bug with modifying report to be "run now" from scheduled.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
5 years agoLP1355319: Add missing Parse::RecDescent perl dependency.
Jason Stephenson [Mon, 11 Aug 2014 17:27:18 +0000 (13:27 -0400)]
LP1355319: Add missing Parse::RecDescent perl dependency.

Add the appropriate deb or rpm entry to the various Makefiles.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoRelease note repairs and additions
Kathy Lussier [Fri, 8 Aug 2014 21:16:39 +0000 (17:16 -0400)]
Release note repairs and additions

A handful of repairs and additions to the 2.7 release notes, including:
  * moved copy_edit_links to cataloging
  * making no-fixed-field-defaults-for-ingest an upgrade note
  * adding release note entries for hold targeting of precats and improved
acq fund rendering.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
5 years agoSecondary permission groups release note
Kathy Lussier [Fri, 8 Aug 2014 14:41:23 +0000 (10:41 -0400)]
Secondary permission groups release note

Release notes entry for secondary permission groups as well as some fixes
to the docs to get the images to display.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
5 years agoLP#1292705 Fix broken is*() methods in fm_IDL2js.xsl
Dan Scott [Fri, 8 Aug 2014 03:19:07 +0000 (23:19 -0400)]
LP#1292705 Fix broken is*() methods in fm_IDL2js.xsl

A thinko meant that we were no longer incrementing the field variable,
leading to breakage in interfaces that used isnew() and the like.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoSecondary Permissions Documentation and Screenshots.
Jennifer Pringle [Wed, 19 Mar 2014 20:29:38 +0000 (13:29 -0700)]
Secondary Permissions Documentation and Screenshots.

Signed-off-by: Jennifer Pringle <jpringle@sitka.bclibraries.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoAdd multiple permission groups editor to user registration form
James Fournie [Wed, 4 Jan 2012 19:55:19 +0000 (11:55 -0800)]
Add multiple permission groups editor to user registration form

This makes use of permission.usr_grp_perm_map which grants secondary
permission groups.  It does not affect the 'profile' ie: circulation policy.

Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoUpdate ContentCafe Added Content Module
Thomas Berezansky [Mon, 14 Jul 2014 16:13:06 +0000 (12:13 -0400)]
Update ContentCafe Added Content Module

Now with keyhash support, but losing "No Image" image support.

Also added a "fetch all" function for possible "cache everything" calls.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1329503 avoid run now + later combined schedule
Bill Erickson [Fri, 8 Aug 2014 00:39:47 +0000 (20:39 -0400)]
LP#1329503 avoid run now + later combined schedule

When editing a report, ensure only one of "now" vs. "schedule for later"
options is selected by default.  Similarly, if the schedule option is
activated by default, ensure the date fields are enabled.

If the run time of the most recent report is in the past, default to the
current date for the schedule instead of the no longer valid date.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1329503 propagate 'in list' values for editing
Bill Erickson [Thu, 7 Aug 2014 17:16:36 +0000 (13:16 -0400)]
LP#1329503 propagate 'in list' values for editing

For example, ensure a previously selected list of copy locations are
propagated into the selected values list during report editing.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1329503 report editing additional repairs
Bill Erickson [Wed, 6 Aug 2014 14:41:25 +0000 (10:41 -0400)]
LP#1329503 report editing additional repairs

* correctly propagate values for the "between" widget
* propagate pivot data and label when present
* propagate report run time
* improvements to report email propagation

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1329503 report editing misc. repairs
Bill Erickson [Thu, 10 Jul 2014 18:42:31 +0000 (14:42 -0400)]
LP#1329503 report editing misc. repairs

* Fixed some faultly widget rendering on report edit

* Avoid showing "save as new" for new reports.

* Repair fault report edit Exit/Cancel buttons

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1329503 View/Edit Report Release Notes
Bill Erickson [Fri, 20 Jun 2014 18:20:48 +0000 (14:20 -0400)]
LP#1329503 View/Edit Report Release Notes

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1329503 View Edit Reports
Bill Erickson [Wed, 18 Jun 2014 14:08:14 +0000 (10:08 -0400)]
LP#1329503 View Edit Reports

Alongside each report in the Reports folder view there are two new
links, one for viewing (read-only) and one for editing.  After changing
a report, the user has the option to save the modified report or create
a new report with the new values, in effect cloning the original report.

When saving a changed report, if a pending report run exists, the user
will be warned of this and asked if they would prefer to modify the
scheduled report or to instead save the changed values as a new report,
leaving the original report intact.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1329503 Reporter report.fleshed.retrieve API
Bill Erickson [Thu, 19 Jun 2014 19:45:25 +0000 (15:45 -0400)]
LP#1329503 Reporter report.fleshed.retrieve API

API for fetching fleshed reports, including the most recent
reporter.schedule.  Useful for modifying existing reports.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1332138 hide doc URL in report editor when no URL present
Bill Erickson [Wed, 6 Aug 2014 17:55:13 +0000 (13:55 -0400)]
LP#1332138 hide doc URL in report editor when no URL present

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1332138 Report Doc/Hints Release Notes
Bill Erickson [Fri, 20 Jun 2014 20:29:01 +0000 (16:29 -0400)]
LP#1332138 Report Doc/Hints Release Notes

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1332138 Report template / field docs repairs
Bill Erickson [Wed, 18 Jun 2014 21:59:49 +0000 (17:59 -0400)]
LP#1332138 Report template / field docs repairs

* Various sanity checks and misc. repairs
* Add missing strings
* oils_rpt_editor.xhtml XML repair; XMLENT is strict
* links to external resources open XUL tabs (to avoid HTTP dialogs)
* avoid displaying bare HTML in labels
* show hints for display fields

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1332138 Report template / field documentation
Mike Rylander [Mon, 12 May 2014 18:13:25 +0000 (14:13 -0400)]
LP#1332138 Report template / field documentation

* Report templates support a new External URL field, which may
  contain a link to template-specific, local documentation.

 ** When set, a link to the external documentation will be
    displayed in a new column in the template list and within
    the report editor.

 ** URL's are set in the 'Documentation URL' entry.

* Template display fields and filters support a new Field Hint
  value.  When set, hints are displayed in the report editor.

 ** Values are set via the 'Change Field Hint' option along
    the bottom of the template editor.

------ from commits ----

* Initial template-level support for inline template and field documentation
* Use external documenation url in clark output
* Show the docs link and strings in the report editor
* Set the href of a link, instead of the text content of a span
* Attempt to pop up a new window (may require more pushups in the XUL staff client)
* Add calculated column support, use it for external docs url
* Realign field names

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1346421 TPAC copy view/edit links release notes
Bill Erickson [Mon, 4 Aug 2014 13:25:58 +0000 (09:25 -0400)]
LP#1346421 TPAC copy view/edit links release notes

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1346421 TPAC copy view / edit links
Bill Erickson [Mon, 21 Jul 2014 18:44:34 +0000 (14:44 -0400)]
LP#1346421 TPAC copy view / edit links

Adds "view" and "edit" links next to each copy in the TPAC copy grid
when in embedded mode.  The "edit" link only appears when the user has
permission to edit the specified copy.

Via the XUL volume_item_creator, the ui.unified_volume_copy_editor org
unit setting is inspected to determine which UI to load.  Also, the data
needed to load the subsequent UI is fetched within the
volume_item_creator, so the catalog doesn't have to.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1346421 TPAC permission check function.
Bill Erickson [Mon, 21 Jul 2014 18:42:32 +0000 (14:42 -0400)]
LP#1346421 TPAC permission check function.

Support permission checks against the authenticated TPAC user.

[% IF ctx.has_perm('UPDATE_COPY', copy.circ_lib) %] ... [% END %]

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1304462: Release notes about expanded RDA tag 264 support
Yamil Suarez [Wed, 6 Aug 2014 18:50:59 +0000 (14:50 -0400)]
LP#1304462: Release notes about expanded RDA tag 264 support

Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
5 years agoLP#1304462: Use other 264 types in search results if publisher is not available
Ben Shum [Fri, 11 Apr 2014 03:54:31 +0000 (23:54 -0400)]
LP#1304462: Use other 264 types in search results if publisher is not available

In the event that the publisher information is not part of the record, use
other types of 264 tags for producer, distributor, or manufacturer.

Also employ the copyright if there is no available publication date.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
5 years agoLP#1304462: Stop using combined pubinfo for search results
Ben Shum [Fri, 11 Apr 2014 03:36:37 +0000 (23:36 -0400)]
LP#1304462: Stop using combined pubinfo for search results

Remove one of the two places we define the pubinfo variable in misc_util.tt2
and then change the way search results pull in publisher data.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
5 years agoLP#1304462: Add schema.org copyrightYear, manufacturer for RDA 264 fields
Dan Scott [Fri, 1 Aug 2014 04:46:45 +0000 (00:46 -0400)]
LP#1304462: Add schema.org copyrightYear, manufacturer for RDA 264 fields

It looks like the best we can do is to define a "manufacturer" property (and
corresponding Organization entity) when 264 ind2="3"; and we can provide a
copyrightYear when we have 264 ind2="4".

Even then, MARC / RDA cataloging practices end up giving us copyright notices
like '@2012' instead of actual dates, so we have to regex the year out of the
notice to satisfy the Integer range for copyrightYear. Theoretically we'll be
in trouble if the copyright notice includes some other 4-digit number (for
example, a multipart work catalogued in a single record that has a date range),
but what are you gonna do? It's MARC / RDA.

Same for manufacturer name, which seems likely (if the LoC examples that Yamil
provided are any guide) to include statements like "Manufactured by Foobar"
instead of cleanly structured data. The RDA fields were added to MARC21 in
2011, you would have thought that the benefits of providing clean data would
have been obvious by then. Grumble grumble grumble. Yes, this is meant to be
a transcription field, and theoretically one could use a 7xx to record the
publisher/distributor/manufacturer/producer in a more cleanly stated factual
way that would lend itself to actual linked data (hey, maybe even providing a
link to an external resource that could act as an identifier), but NOBODY DOES
THAT.

So we do the best we can and soldier on.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP#1304462: Add additional RDA information to TTOPAC record summary.
Jason Stephenson [Wed, 12 Mar 2014 18:12:34 +0000 (14:12 -0400)]
LP#1304462: Add additional RDA information to TTOPAC record summary.

This pulls information from the 264 tag where the indicator 2 has
the following values and displays the information below the Publisher
info:

0 - Producer (a,b,c)
2 - Distributor (a, b, c)
3 - Manufacturer (a, b, c)
4 - Copyright (c)

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP# 1308768 Make RDA bibs loadable for testing purposes
Dan Scott [Tue, 15 Apr 2014 17:55:15 +0000 (13:55 -0400)]
LP# 1308768 Make RDA bibs loadable for testing purposes

Squash the RDA records into XML loading format via the magic
of 'yaz-marcdump -i marc -o marcxml' and some judicious regular
expressions.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP# 1308768 Second set of test RDA records from LC - 6 total
Yamil Suarez [Thu, 31 Jul 2014 21:48:54 +0000 (17:48 -0400)]
LP# 1308768 Second set of test RDA records from LC - 6 total

Here is another  batch of test records from LC from this site:

http://catalog2.loc.gov/vwebv/searchKeyword
http://catalog.loc.gov/vwebv/searchKeyword

Here are links to the MARCXML versions of the files. Search for files with

XML records with 264 and ind2 set to _1 and _4
http://lccn.loc.gov/2014340080/marcxml - DVD - Jorge Mautner
http://lccn.loc.gov/2013335283/marcxml - CD - Claudia
http://lccn.loc.gov/2013493195/marcxml - SCORE - Wiegenlied

XML with 264 and ind2 set to _1 and _2
http://lccn.loc.gov/2013565186/marcxml - SCORE - Arias for bass
http://lccn.loc.gov/2013565190/marcxml - SCORE-CD - Arias for soprano

XML with 264 and ind2 set to _1 _2 and _4
http://lccn.loc.gov/2013568403/marcxml - SCORE - Intermediate_studies

Ind2 values key:
0 - Production
1 - Publication
2 - Distribution
3 - Manufacture
4 - Copyright notice date

I added both MARCXML and UTF8 MARC files for each record.

RDA_record_DVD_Jorge_Mautner
RDA_record_CD_Claudia
RDA_record_SCORE_Wiegenlied
RDA_record_SCORE_Arias_for_bass
RDA_record_SCORE-CD_Arias_for_soprano
RDA_record_SCORE_Intermediate_studies

Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
5 years agoLP# 1308768 Add 4 sample RDA records from LoC
Yamil Suarez [Wed, 16 Apr 2014 21:42:47 +0000 (17:42 -0400)]
LP# 1308768 Add 4 sample RDA records from LoC

At the suggestion of Dan Scott, I went to this LoC site:

http://catalog.loc.gov/cgi-bin/Pwebrecon.cgi?DB=local&PAGE=First

I used their "expert search"

with a query of "040e rda"

then used various "search limits" of "type"

Here are the 4 record filenames, plus the available LoC permalinks to them:

RDA_record_MAP_2012_Enchanted_Circle.mrc
http://lccn.loc.gov/2013585177

RDA_record_DVD-BLUE-RAY-MOVIE_Pineapple_express.mrc
http://lccn.loc.gov/2010600022

RDA_record_PHOTO_Srid_pa_ho.mrc
http://lccn.loc.gov/2011432135

RDA_record_SERIAL_IEEE_International_conference.mrc

I originally found more than 4 RDA records, but it was pointed out that they were
using older/outdated versions of RDA. For example, the records used the 260
tag instead of using the 264 tag.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>