evergreen/pines.git
11 years agofixed problem with referencing wrong org selector
Terran McCanna [Thu, 9 Jan 2014 21:58:46 +0000 (16:58 -0500)]
fixed problem with referencing wrong org selector

11 years agoAttempt to fix default pickup location bug when user is not logged in.
Terran McCanna [Fri, 27 Dec 2013 18:37:58 +0000 (13:37 -0500)]
Attempt to fix default pickup location bug when user is not logged in.

11 years agoRe-applied audience filter to restrict to juvenile audience types.
Terran McCanna [Fri, 20 Dec 2013 18:12:07 +0000 (13:12 -0500)]
Re-applied audience filter to restrict to juvenile audience types.

11 years agoModified style guide to emphasize call numbers in search results and item display.
Terran McCanna [Fri, 20 Dec 2013 18:00:04 +0000 (13:00 -0500)]
Modified style guide to emphasize call numbers in search results and item display.

11 years agoTemporarily hid Add to List functionality until it can be further developed.
Terran McCanna [Fri, 20 Dec 2013 17:59:28 +0000 (12:59 -0500)]
Temporarily hid Add to List functionality until it can be further developed.

11 years agoBug fix to recognize user's default pickup library for holds when they are logged in.
Terran McCanna [Fri, 20 Dec 2013 17:58:50 +0000 (12:58 -0500)]
Bug fix to recognize user's default pickup library for holds when they are logged in.

11 years agoChanged featured items for KPAC home page.
Terran McCanna [Fri, 20 Dec 2013 17:57:36 +0000 (12:57 -0500)]
Changed featured items for KPAC home page.

12 years agoSmall changes to Search Limit names and Category names.
Terran McCanna [Wed, 23 Oct 2013 14:30:29 +0000 (10:30 -0400)]
Small changes to Search Limit names and Category names.

12 years agoFurther tweaks to search limits and modifications to book bag links.
Terran McCanna [Mon, 21 Oct 2013 18:17:35 +0000 (14:17 -0400)]
Further tweaks to search limits and modifications to book bag links.

12 years agoTesting modifications to navigation.
Terran McCanna [Thu, 17 Oct 2013 22:57:18 +0000 (18:57 -0400)]
Testing modifications to navigation.

12 years agoModifications to quick search functions and stylesheet.
Terran McCanna [Thu, 17 Oct 2013 20:51:38 +0000 (16:51 -0400)]
Modifications to quick search functions and stylesheet.

12 years agoPINES customization of KPAC - beta ready for testing
Terran McCanna [Mon, 30 Sep 2013 19:28:08 +0000 (15:28 -0400)]
PINES customization of KPAC - beta ready for testing

12 years agoUpdated dewey.tt2
Terran McCanna [Tue, 24 Sep 2013 19:08:13 +0000 (15:08 -0400)]
Updated dewey.tt2

12 years agoInitial commit of PINES KPAC customizations.
Terran McCanna [Tue, 24 Sep 2013 18:51:21 +0000 (14:51 -0400)]
Initial commit of PINES KPAC customizations.

12 years agoRevert "Hard-coding the search org unit to "1" (PINES) for to"
Chris Sharp [Wed, 4 Sep 2013 12:47:52 +0000 (08:47 -0400)]
Revert "Hard-coding the search org unit to "1" (PINES) for to"

This reverts commit 37c6689d55261b070aa7af77e4cda8c9b752457d.

12 years agoThe "ILS User" source in the reports interface has an "All Hold Requests"
Chris Sharp [Mon, 19 Aug 2013 18:25:09 +0000 (14:25 -0400)]
The "ILS User" source in the reports interface has an "All Hold Requests"
link that is incorrectly classed as a "circ" source.  This fixes that.

12 years agoHard-coding the search org unit to "1" (PINES) for to
Chris Sharp [Fri, 16 Aug 2013 15:01:50 +0000 (11:01 -0400)]
Hard-coding the search org unit to "1" (PINES) for to
allow for consortium-wide duplicate patron checking when
registering a patron.

See LP 1185524 for the Right Way to do it.

12 years agoFixing LP 1203796.
Chris Sharp [Mon, 22 Jul 2013 16:35:46 +0000 (12:35 -0400)]
Fixing LP 1203796.

The alternate view in the Item Status screen shows a "Total Circs"
field that was under-counting circulations because UNION filtered
out duplicates.  This commit replaces UNION with UNION ALL, which
allows duplicate rows.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
12 years agoRemoving "You have permission to override some of the failed holds." OPAC message
Chris Sharp [Tue, 23 Jul 2013 12:38:01 +0000 (08:38 -0400)]
Removing "You have permission to override some of the failed holds." OPAC message

12 years agoLP1071505 - Add 264 RDA tag to TPAC pubinfo display
Ben Shum [Wed, 10 Oct 2012 21:00:54 +0000 (17:00 -0400)]
LP1071505 - Add 264 RDA tag to TPAC pubinfo display

Prior to this, TPAC only retrieved the 260 tag for publication info. Allow for
the possibility that the 264 tag might exist and contain relevant information.
Special note: the 264 tag must have a second indicator value of 1 to be meant
for publication statement.

Also, this only picks out the first 260 or 264 tags in any given bib record.

Approach inspired by Dan Scott's approach taken for finding edition statements.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoTPAC - set autofocus to user input when placing holds in staff client
Ben Shum [Sat, 2 Mar 2013 07:21:58 +0000 (02:21 -0500)]
TPAC - set autofocus to user input when placing holds in staff client

When placing holds in TPAC via the staff client, the focus had been on the
basic search field above. Change this to have autofocus on the input field
for the hold user by default.

This can potentially save staff from having to perform an extra click to
select the input field. Now they can immediately begin entering the barcode
of the user they plan to create a hold on behalf of.

Signed-off-by: Ben Shum <bshum@biblio.org>
Conflicts:
Open-ILS/src/templates/opac/parts/place_hold.tt2

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoPINES is not yet keeping a history of circ or holds
Chris Sharp [Mon, 24 Jun 2013 17:10:30 +0000 (13:10 -0400)]
PINES is not yet keeping a history of circ or holds

12 years agoChanging the default hold message for when an item is age protected.
Chris Sharp [Fri, 14 Jun 2013 11:42:46 +0000 (07:42 -0400)]
Changing the default hold message for when an item is age protected.

12 years agoPINES Survey Link - TPAC Edition
Chris Sharp [Sat, 4 May 2013 14:33:34 +0000 (10:33 -0400)]
PINES Survey Link - TPAC Edition

PINES does an online survey that runs for a week every Spring. These
changes create a red link to the survey above the search bar on the
OPAC home page.

12 years agodisabling visibility of hold shelf expiration date
Chris Sharp [Fri, 3 May 2013 18:48:19 +0000 (14:48 -0400)]
disabling visibility of hold shelf expiration date

12 years agoRemove "Claims Never Checked Out" in Items Out summary
Chris Sharp [Wed, 10 Apr 2013 17:06:55 +0000 (13:06 -0400)]
Remove "Claims Never Checked Out" in Items Out summary

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
12 years agoadding rewrite rules for gapines.org
Chris Sharp [Sat, 30 Mar 2013 12:46:54 +0000 (08:46 -0400)]
adding rewrite rules for gapines.org

12 years agoDefault and force patrons to TPac
Thomas Berezansky [Wed, 25 Apr 2012 15:55:42 +0000 (11:55 -0400)]
Default and force patrons to TPac

May be incomplete, but better than nothing.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoDisable JSPac in staff client
Thomas Berezansky [Mon, 17 Sep 2012 14:02:13 +0000 (10:02 -0400)]
Disable JSPac in staff client

This includes removing the toggle option for TPac usage.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Conflicts:

Open-ILS/web/opac/locale/en-US/lang.dtd

12 years agoadding in gmcharlt's fix for trailing TCN spaces
Chris Sharp [Fri, 13 Jan 2012 22:26:14 +0000 (17:26 -0500)]
adding in gmcharlt's fix for trailing TCN spaces

12 years agoadding new macros to listed ones
Chris Sharp [Wed, 26 Sep 2012 17:14:16 +0000 (13:14 -0400)]
adding new macros to listed ones

12 years agoAdding GPLS Helpdesk link to Staff Client portal page and correcting a small typo
Chris Sharp [Thu, 7 Mar 2013 00:23:33 +0000 (19:23 -0500)]
Adding GPLS Helpdesk link to Staff Client portal page and correcting a small typo

12 years agore-adding STAFF_MIDDLENAME, PATRON_MIDDLENAME, PATRON_EXPIRE_DATE, and PATRON_EXPIRE_...
Chris Sharp [Mon, 25 Feb 2013 15:12:11 +0000 (10:12 -0500)]
re-adding STAFF_MIDDLENAME, PATRON_MIDDLENAME, PATRON_EXPIRE_DATE, and PATRON_EXPIRE_DATE_YMD to rel_2_3_4

12 years agoadding a hyperlink to the item status interface to allow retrieval of hold patron
Josh Lamos [Thu, 17 May 2012 20:06:44 +0000 (16:06 -0400)]
adding a hyperlink to the item status interface to allow retrieval of hold patron

12 years agoRevert "Use my_asv here.. surveys pertinent to the workstation library.. in case...
Chris Sharp [Wed, 1 Feb 2012 20:16:08 +0000 (15:16 -0500)]
Revert "Use my_asv here.. surveys pertinent to the workstation library.. in case survey usage ever takes off.  Should probably move some of this to the middle layer"

This reverts commit 54d45c37d91c78cffa00ca3ff0f6298261d548b2.

12 years agoadding custom css to remove display of patron credits
Chris Sharp [Mon, 23 Jan 2012 16:14:02 +0000 (11:14 -0500)]
adding custom css to remove display of patron credits

12 years agoadding file that returns circ mod view to normal
Chris Sharp [Thu, 17 Nov 2011 13:06:10 +0000 (08:06 -0500)]
adding file that returns circ mod view to normal

12 years agoadding mrpeters' awesome favicon
Chris Sharp [Fri, 29 Mar 2013 13:09:18 +0000 (09:09 -0400)]
adding mrpeters' awesome favicon

12 years agoChanging default hold error messages.
Chris Sharp [Thu, 28 Mar 2013 22:29:57 +0000 (18:29 -0400)]
Changing default hold error messages.

12 years agoremoving hold/circ history view for patrons until we can review policy concerns
Chris Sharp [Wed, 27 Mar 2013 19:09:51 +0000 (15:09 -0400)]
removing hold/circ history view for patrons until we can review policy concerns

12 years agoadding PINES help links
Chris Sharp [Wed, 20 Mar 2013 01:22:35 +0000 (21:22 -0400)]
adding PINES help links

12 years agoupdating the username/password hints for the opac
Chris Sharp [Wed, 20 Mar 2013 01:19:04 +0000 (21:19 -0400)]
updating the username/password hints for the opac

12 years agoimproving the default hold message for range-protected items
Chris Sharp [Tue, 19 Mar 2013 17:41:49 +0000 (13:41 -0400)]
improving the default hold message for range-protected items

12 years agoEnabling the display of 856 field URLs for related resources
Chris Sharp [Tue, 19 Mar 2013 17:18:16 +0000 (13:18 -0400)]
Enabling the display of 856 field URLs for related resources

12 years agoPassword Length Helpers
Michael Peters [Wed, 13 Mar 2013 12:31:43 +0000 (08:31 -0400)]
Password Length Helpers

This branch provides length helpers when patrons are setting or resetting
passwords.

This assumes the default 7 characters, 1 number requirement that comes stock.
You would need to change the hard coded strings if you use a different password
requirement regex in Library Settings Editor.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
12 years agoPulls the Copy Notes for the records, shows in the table, introduces a new style
edoceo [Thu, 21 Feb 2013 02:21:29 +0000 (18:21 -0800)]
Pulls the Copy Notes for the records, shows in the table, introduces a new style

Signed-off-by: edoceo <code@edoceo.com>
12 years agoRemove the hardcoded width of locg dropdown
Michael Peters [Thu, 7 Mar 2013 13:47:37 +0000 (08:47 -0500)]
Remove the hardcoded width of locg dropdown

The hard coded 12em width causes longer library names to be cut
off.  This removes that restriction.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
12 years agoremoving journal title and bib call number from query type selector dropdown
Chris Sharp [Wed, 6 Mar 2013 21:56:35 +0000 (16:56 -0500)]
removing journal title and bib call number from query type selector dropdown

12 years agoadding newly designed PINES logos
Chris Sharp [Wed, 6 Mar 2013 18:37:10 +0000 (13:37 -0500)]
adding newly designed PINES logos

12 years agoremoving bib level advanced search filter
Chris Sharp [Wed, 6 Mar 2013 18:31:02 +0000 (13:31 -0500)]
removing bib level advanced search filter

12 years agoadding "Georgia PINES" to the title
Chris Sharp [Wed, 6 Mar 2013 05:06:14 +0000 (00:06 -0500)]
adding "Georgia PINES" to the title

12 years agoadding footer and topnav links and logo
Chris Sharp [Wed, 6 Mar 2013 05:01:18 +0000 (00:01 -0500)]
adding footer and topnav links and logo

12 years agoattempt to sort libraries by system in tpac results
Chris Sharp [Tue, 5 Mar 2013 15:08:19 +0000 (10:08 -0500)]
attempt to sort libraries by system in tpac results

Includes tsbere's reccomendations to change Record.pm because
it overrides th sorting in AppUtils.pm

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
12 years agoBumping version numbers, adding Upgrade Script and Changelog
Bill Erickson [Tue, 16 Apr 2013 19:00:53 +0000 (15:00 -0400)]
Bumping version numbers, adding Upgrade Script and Changelog

Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years ago2.3.5 Translations Import
Bill Erickson [Tue, 16 Apr 2013 18:47:47 +0000 (14:47 -0400)]
2.3.5 Translations Import

Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoSetting OpenILS.pm VERSION 2.0306
Bill Erickson [Tue, 16 Apr 2013 18:26:22 +0000 (14:26 -0400)]
Setting OpenILS.pm VERSION 2.0306

Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoPrevent compiler warning about unused numtype var
Dan Scott [Fri, 5 Apr 2013 05:53:55 +0000 (01:53 -0400)]
Prevent compiler warning about unused numtype var

There was a dangling variable left around that was making noise in the
compiler. Credit to Jeff Godin for the heads-up.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoAddress SQL injection vulnerability in SQL ORM layer
Mike Rylander [Fri, 5 Apr 2013 05:52:16 +0000 (01:52 -0400)]
Address SQL injection vulnerability in SQL ORM layer

If the user-supplied value and the db column are both numbers
(jsonObject->type == JSON_NUMBER, get_primitive(field) == "number") then
don't quote. Otherwise, quote.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoTPAC bucket item retrieval operates in streaming mode
Bill Erickson [Tue, 9 Apr 2013 17:45:24 +0000 (13:45 -0400)]
TPAC bucket item retrieval operates in streaming mode

TPAC bucket item retreive fleshes bib records with large blobs of MARC
data.  When a bucket contains a few thousand items, the size of the
data passed around in atomic retreival mode will exceed the typical jabber
max stanza size and result in a failure.  Retrieve the records in
streaming mode instead.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agoRepair an issue in search filter group UI about filtering on owner OU
Lebbeous Fogle-Weekley [Wed, 3 Apr 2013 14:50:22 +0000 (10:50 -0400)]
Repair an issue in search filter group UI about filtering on owner OU

What was intended to be a filter against filter groups' owner field was
instead turned into a filter on filter group ID.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agostamping upgrade script for authority validation fix
Mike Rylander [Tue, 2 Apr 2013 13:40:07 +0000 (09:40 -0400)]
stamping upgrade script for authority validation fix

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoAvoid problems when auth recs are missing the 901c
Steven Callender [Fri, 15 Jun 2012 17:27:33 +0000 (13:27 -0400)]
Avoid problems when auth recs are missing the 901c

Fixed the authority.normalize_heading function to better handle
INT's when there is no 901 present. Now we look for the best-fit
control set instead of throwing a db-level error.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoLP 1160522 2.3 tpac search modifier query append
Bill Erickson [Wed, 27 Mar 2013 20:26:28 +0000 (16:26 -0400)]
LP 1160522 2.3 tpac search modifier query append

Append search modifiers (e.g. limit to available) to the end of the
tpac search query to avoid SQL generation issues with 2.3 series
query parser.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agoLP 1126545 repair staff 'return to results' tpac link
Bill Erickson [Fri, 29 Mar 2013 17:36:17 +0000 (13:36 -0400)]
LP 1126545 repair staff 'return to results' tpac link

Strip the extra "/" from the URL created by the "return to results"
button in the staff client TPAC view.  Havin the extra "/" in place
prevents the next/previous links from functioning.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agoAllow access to public hold notes via hold "blob"
Dan Wells [Fri, 15 Mar 2013 18:47:53 +0000 (14:47 -0400)]
Allow access to public hold notes via hold "blob"

If a hold note is marked as "public", it seems reasonable that it
should be visible to anyone who can see that hold, regardless of
who created the note.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kyle Tomita <ktomita@catalystitservices.com>
12 years agoFix reversed logic for hold "blob" notes
Dan Wells [Fri, 15 Mar 2013 18:42:24 +0000 (14:42 -0400)]
Fix reversed logic for hold "blob" notes

Hold notes (at least at the data level) allow for both staff and
"private" notes to be attached. This code intended to show "private"
notes to the hold owner and staff notes to staff, but had the logic
reversed.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kyle Tomita <ktomita@catalystitservices.com>
12 years agotpac : honor page locale in record detail copy grid
Bill Erickson [Mon, 25 Mar 2013 19:19:14 +0000 (15:19 -0400)]
tpac : honor page locale in record detail copy grid

The query used to load the record detail copy grid now uses the same
locale value set as the default for all cstore-editor calls.  This
solves the issue where copy location names, statuses, etc. are not
properly translated.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoMore authority fixed-field cleanup
Mike Rylander [Fri, 22 Mar 2013 14:40:59 +0000 (10:40 -0400)]
More authority fixed-field cleanup

Even with the efforts by many to add and harmonize the authority fixed-field
setup, and maintain functionality, there were some missing bits.  This commit
should take care of those by realigning the remaining field names and allwowing
those fields to be saved properly.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoLP 1134331 Back-port 2.2.3 and 2.2.4 upgrade scripts
Bill Erickson [Wed, 27 Mar 2013 14:18:00 +0000 (10:18 -0400)]
LP 1134331 Back-port 2.2.3 and 2.2.4 upgrade scripts

Sites upgrading from versions < 2.2.4 may need these.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agoLP 1150458 DB upgrade stamping
Bill Erickson [Wed, 20 Mar 2013 20:42:10 +0000 (16:42 -0400)]
LP 1150458 DB upgrade stamping

Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoChanged the way authority tags were being pulled to specifically use an aggregate...
Steven Callender [Thu, 7 Mar 2013 14:28:08 +0000 (09:28 -0500)]
Changed the way authority tags were being pulled to specifically use an aggregate array.

There appears to have been a change in postgres at some point between 9.0 and 9.1
to the aggregate method. Because of this, postgres was not returning the proper
results when pulling tags for authorities. This change will force postgres to do
a proper aggregate array call and return the correct results.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoDB upgrade script for 2.2.7
Lebbeous Fogle-Weekley [Wed, 20 Mar 2013 17:58:09 +0000 (13:58 -0400)]
DB upgrade script for 2.2.7

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years ago2.3.4 -> 2.3.5 DB upgrade script
Bill Erickson [Wed, 20 Mar 2013 14:21:22 +0000 (10:21 -0400)]
2.3.4 -> 2.3.5 DB upgrade script

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years ago2.3.5 Translations repair Finnish Last-Translator
Bill Erickson [Wed, 20 Mar 2013 13:21:46 +0000 (09:21 -0400)]
2.3.5 Translations repair Finnish Last-Translator

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years ago2.3.5 Translations newpot
Bill Erickson [Wed, 20 Mar 2013 13:15:45 +0000 (09:15 -0400)]
2.3.5 Translations newpot

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years ago2.3.5 Translations Import
Bill Erickson [Wed, 20 Mar 2013 13:12:17 +0000 (09:12 -0400)]
2.3.5 Translations Import

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoPlaceholder DB upgrade for 2.3.4
Bill Erickson [Wed, 20 Mar 2013 15:35:30 +0000 (11:35 -0400)]
Placeholder DB upgrade for 2.3.4

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agoPlaceholder DB upgrade for 2.2.6
Bill Erickson [Wed, 20 Mar 2013 15:35:17 +0000 (11:35 -0400)]
Placeholder DB upgrade for 2.2.6

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agoLP 1155611 - prevent unnecessary load of fm_IDL.xml
Bill Erickson [Fri, 15 Mar 2013 13:24:45 +0000 (09:24 -0400)]
LP 1155611 - prevent unnecessary load of fm_IDL.xml

Ensure fm_IDL.xml is loaded only when IDL2js has not been loaded.

Modified for 2.3 and before to avoid using Object.keys(), which is not
supported in all browsers, but is needed by JSPAC.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoUpdate make_release script for Linux 64 building
Thomas Berezansky [Thu, 2 Aug 2012 16:10:26 +0000 (12:10 -0400)]
Update make_release script for Linux 64 building

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoAdd 64 bit Linux Client building
Thomas Berezansky [Thu, 2 Aug 2012 14:20:54 +0000 (10:20 -0400)]
Add 64 bit Linux Client building

Also re-labels most of the 32 bit client as such. The update channel was
left as just "lin" instead of "lin32" for compatibility reasons.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
12 years agoSIP re-login fetches correct auth session
Bill Erickson [Fri, 3 Aug 2012 19:08:51 +0000 (15:08 -0400)]
SIP re-login fetches correct auth session

After a login session expires and the SIP server logs in again to
acquire a new authtoken, be sure to use the new authtoken when fetching
the new session object.  Otherwise, the login_session is left undef and
you may see errors like this when checking in items:

Can't call method "ws_ou" on an undefined value at
/usr/local/share/perl/5.10.1/OpenILS/SIP/Transaction/Checkin.pm line 77.

Incidentally, the checkin code is the only code that references
$sip_handler->{login_session}.  And the problem listed above only occurs
when the login session expires just prior to a checkin call.  In any
other scenario, the login_session would ultimately get repaired.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 years agoFix some typos
Pasi Kallinen [Wed, 2 Jan 2013 10:50:53 +0000 (12:50 +0200)]
Fix some typos

Except for the typo in staff client's multiclass_search_help.html,
the rest are in comments.

Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 years agoFix detection of empty Syndetics AC data elements
Jeff Godin [Thu, 14 Mar 2013 18:15:28 +0000 (14:15 -0400)]
Fix detection of empty Syndetics AC data elements

Due to a change in how the vendor responds to requests for data
elements which are not present for a requested title, we need to
change how we detect "empty" data elements in the "data_exists"
function.

First, we check for the new "No Data Available" title element, then
we check for the previously-used value of "error".

This change resolves the symptom where the catalog would display
tabs for "Author Notes", "Excerpt", "Table of Contents", on every
record in the catalog, even when clicking each tab would show that
the content was not present / available.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agofix typo preventing transit abort error dialogs
Jason Etheridge [Fri, 22 Jun 2012 16:41:20 +0000 (12:41 -0400)]
fix typo preventing transit abort error dialogs

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 years agoLP1054322 - libparent-perl not needed for Ubuntu Precise
Ben Shum [Fri, 22 Feb 2013 05:46:17 +0000 (00:46 -0500)]
LP1054322 - libparent-perl not needed for Ubuntu Precise

The newer version of Perl 5.14 which comes with Ubuntu Precise already
contains the contents of libparent-perl, which is now an obsolete package.

Remove this dependency from the extra debs installed for Debian and Ubuntu
but then add to the extras for Debian Squeeze and create a new extras just
for Ubuntu Lucid so that it continues to be installed on those systems and
not on Ubuntu Precise.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 years agoLP1103068 - Show titles and authors for pre-cat items
Ben Shum [Thu, 14 Mar 2013 21:40:04 +0000 (17:40 -0400)]
LP1103068 - Show titles and authors for pre-cat items

As noted in LP1103068, TPAC does not currently show anything when viewing a
pre-cataloged item in the my account summary of items checked out.

If the call number is -1 (pre-cat), then show the dummy title and dummy author
values, which fields are hopefully relevant as long as staff were good to put
something meaningful in those during creation of the pre-cat.

Also, wrap the title in a check for attrs.title.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Michael Peters <mpeters@emeralddata.net>
12 years agoLP1116258 - Hide download circ history if none to be found
Ben Shum [Fri, 15 Mar 2013 05:04:06 +0000 (01:04 -0400)]
LP1116258 - Hide download circ history if none to be found

As noted in LP1116258, if there is no circ history for a patron, but they
click on the Download CSV button, it leads them to unhappy server errors.

So, hide the Download CSV button unless the number of circs > 0.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
12 years agoLP#791881: make it possible to save copy location translations
Galen Charlton [Thu, 10 Jan 2013 17:27:30 +0000 (12:27 -0500)]
LP#791881: make it possible to save copy location translations

TranslatorPopup requires that the i18n fieldmapper class be loaded.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agoFix spelling error of "Successfully" in ils_events.xml
Michael Peters [Fri, 15 Mar 2013 13:57:55 +0000 (09:57 -0400)]
Fix spelling error of "Successfully" in ils_events.xml

LP#1155495 "card transaction was processed successfuly" is
spelled incorrectly.   This corrects that misspelling.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 years agoUse a consistent spelling of "Pickup" throughout the code
Michael Peters [Fri, 15 Mar 2013 13:47:26 +0000 (09:47 -0400)]
Use a consistent spelling of "Pickup" throughout the code

LP#1155494 In myopac/holds.tt2 the text "PickUp Location" is
used, and everywhere else it's "Pickup Location".
Pick one spelling and stick to it.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
12 years agoWrap upgrade script for use ID as TCN value fix
Dan Scott [Fri, 15 Mar 2013 14:22:13 +0000 (10:22 -0400)]
Wrap upgrade script for use ID as TCN value fix

Signed-off-by: Dan Scott <dscott@laurentian.ca>
12 years agoLP#1155329: better enforce cat.bib.use_id_for_tcn
Galen Charlton [Thu, 14 Mar 2013 21:17:54 +0000 (17:17 -0400)]
LP#1155329: better enforce cat.bib.use_id_for_tcn

Restore previous behavior to the maintain_901() trigger
function so that bib records that are loaded without
explicitly setting the TCN have it set to the bib ID
when the cat.bib.use_id_for_tcn global flag is set, rather
than 'AUTOGENERATED-xxx'.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
12 years agoSerials: printing routing slips fails with Javascript error
Lebbeous Fogle-Weekley [Tue, 11 Dec 2012 21:58:33 +0000 (16:58 -0500)]
Serials: printing routing slips fails with Javascript error

The symptom (an error in the Javascript console about dijit.form.Button
and an empty page for routing slips that you try to print at batch
recieve) may or may not be affected by whether you're in a production
environment with the pre-built dojo 1.3.3 package installed or a
development environment without it.

This simple fix makes the problem go away in any case.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agoFix holding lib for certain distribution svrs
Dan Wells [Thu, 28 Feb 2013 20:32:07 +0000 (15:32 -0500)]
Fix holding lib for certain distribution svrs

On a serial virtual record (svr), the holding lib is expected to be
just an ID.  In one logic branch, Search/Serial.pm was attaching the
entire aou object, and we should instead attach just the ID of this
object.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
12 years agoStamping upgrade for inactive barcode retrieval
Ben Shum [Tue, 12 Mar 2013 21:22:36 +0000 (17:22 -0400)]
Stamping upgrade for inactive barcode retrieval

Signed-off-by: Ben Shum <bshum@biblio.org>
Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql

12 years agoLP#1154235 Allow inactive patron barcode to be loaded
Michael Peters [Tue, 12 Mar 2013 20:14:23 +0000 (16:14 -0400)]
LP#1154235 Allow inactive patron barcode to be loaded

This addresses LP#1154235 by modifying the evergreen.get_barcodes
function to allow users to retrieve patrons in barcode retrieve
who have inactive barcodes.

This returns to functionality in versions prior to around 2.2.x
series.

End result is staff receiving an alert that the patron was
accessed with an invalid barcode.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agoEscape barcode completion button labels
Thomas Berezansky [Mon, 11 Mar 2013 19:09:51 +0000 (15:09 -0400)]
Escape barcode completion button labels

Some characters piss off the XML parser.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agoShow OPAC-invisible copies in TPAC in staff context
Dan Scott [Sat, 9 Mar 2013 03:41:08 +0000 (22:41 -0500)]
Show OPAC-invisible copies in TPAC in staff context

We were not calling the staff variation of the copy count method; thus,
the record details template was skipping the copy table in the event
that all copies for a given record were marked as OPAC-invisible via
either copy visibility or shelving location visibility.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
12 years agoDon't populate the MFHD menu with distributions
Dan Wells [Thu, 28 Feb 2013 19:49:16 +0000 (14:49 -0500)]
Don't populate the MFHD menu with distributions

If a distribution has no legacy record, it shouldn't get a menu
entry in the MFHD menus. A magic id of '-1' is used to indicate
this case, so we need to check for that when populating
mfhdDetails via the TPAC.

Also, entryNum must be an int, not a string, because it is
incremented prior to display. Removing the quotes solves this
display issue.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>