working/Evergreen.git
14 years agoFollowup patch to the first listed in https://bugs.launchpad.net/evergreen/+bug/745123
miker [Tue, 3 May 2011 15:08:48 +0000 (15:08 +0000)]
Followup patch to the first listed in https://bugs.launchpad.net/evergreen/+bug/745123

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20384 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoFix bug and typo in stat cat editor
phasefx [Mon, 2 May 2011 14:06:36 +0000 (14:06 +0000)]
Fix bug and typo in stat cat editor

Specifically, disabling the ability to select a stat cat type on no permissions on current type.

If you don't have permissions on ASSET you could never get to ACTOR.

If you picked ACTOR without rights you couldn't get back to ASSET.

Also, re-enable the library selector and new buttons when you do change to one you can add for.

Author: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20373 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofix "undefined is in transit"
phasefx [Mon, 2 May 2011 13:21:38 +0000 (13:21 +0000)]
fix "undefined is in transit"
https://bugs.launchpad.net/evergreen/+bug/773528
---

Fix bug squashing of params in checkin_via_barcode2 in circ/util.js.

Author: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20370 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAfter investigation by Dan Scott, Michael Peters and Mike Rylander (a little), apos...
miker [Sun, 1 May 2011 13:53:22 +0000 (13:53 +0000)]
After investigation by Dan Scott, Michael Peters and Mike Rylander (a little), apos removal in advanced search normalization is considered harmful.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20366 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoPatch from Michael Peters, Jason Boyer and Jason Etheridge addressing LP#744244:...
miker [Sun, 1 May 2011 13:48:01 +0000 (13:48 +0000)]
Patch from Michael Peters, Jason Boyer and Jason Etheridge addressing LP#744244: bill_details.xul "Checkout or Renew Library" column is blank

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20363 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoSlight optimization for authority_control_fields.pl
dbs [Sun, 1 May 2011 12:13:33 +0000 (12:13 +0000)]
Slight optimization for authority_control_fields.pl

Instead of creating two CStoreEditors per bib record, reuse the global
CStoreEditor for read operations; this way we only have to create a new
CStoreEditor if a record has fields to authorize.

Signed-off-by: Dan Scott <dan@coffeecode.net>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20358 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoOne more strictly integer check for fleshing feeds in SuperCat
dbs [Wed, 27 Apr 2011 12:24:20 +0000 (12:24 +0000)]
One more strictly integer check for fleshing feeds in SuperCat

Missed this one in r20336. Argh.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20338 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoConsolidate on checking for integers for -full / -uris
dbs [Wed, 27 Apr 2011 12:21:13 +0000 (12:21 +0000)]
Consolidate on checking for integers for -full / -uris

The check for an integer when $flesh eq 'uris' was throwing errors
and breaking authority browsing; rather than complicating matters
further, use an explicit integer for the return value when the format
ends with "-uris" so that we can simply test for an integer value
greater than 0.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20337 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoPrevent a MARC::File::XML error from killing authority_control_fields.pl batch
dbs [Wed, 27 Apr 2011 01:47:22 +0000 (01:47 +0000)]
Prevent a MARC::File::XML error from killing authority_control_fields.pl batch

Continuing to make this script bullet-proof, MARC::File::XML cares deeply
about things like whether datafields have indicators and throws exceptions
that, if not caught, kill a processing script - like this one.

Borrowing the approach from marc_export, wrap the new_from_xml() call in
a try / otherwise block and roll on.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20334 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoHold, Transit, and Hold/Transit Slips used to suppress the printer dialog, but we...
phasefx [Tue, 26 Apr 2011 20:53:22 +0000 (20:53 +0000)]
Hold, Transit, and Hold/Transit Slips used to suppress the printer dialog, but we lost that when we moved to templated slips.  This adds a sticky Printer Prompt checkbox to Check In for controlling that behavior.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20331 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoSetting print.always_print_silent to false is a bad thing, since it trumps gPrintSett...
phasefx [Tue, 26 Apr 2011 20:46:03 +0000 (20:46 +0000)]
Setting print.always_print_silent to false is a bad thing, since it trumps gPrintSettings.printSilent, and will cause a print dialog regardless of Printer Prompt or Auto-Print checkboxes.  Let's clear it instead when toggling it off, and if we find it lingering as false from past code, let's clear it then too.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20330 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoProtect against errors returned by open-ils.search
dbs [Tue, 26 Apr 2011 17:24:16 +0000 (17:24 +0000)]
Protect against errors returned by open-ils.search

If open-ils.search returns an error rather than a result, prevent
authority_control_fields.pl from bombing out completely; instead,
flag the problem in STDERR and move on to the next record.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20325 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoset the cancel cause field when patrons cancel holds. There's a holdsCancel function...
phasefx [Tue, 26 Apr 2011 15:49:38 +0000 (15:49 +0000)]
set the cancel cause field when patrons cancel holds.  There's a holdsCancel function that also does this, but it never gets called by anything

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20322 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofix disappearing cursor/caret for Check In
phasefx [Tue, 26 Apr 2011 14:41:30 +0000 (14:41 +0000)]
fix disappearing cursor/caret for Check In

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20316 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoMake authority_control_fields.pl resistant to database timeouts
dbs [Tue, 26 Apr 2011 14:13:55 +0000 (14:13 +0000)]
Make authority_control_fields.pl resistant to database timeouts

LP 771237 describes how on an underpowered system, the work that
authority_control_fields.pl tries to do on a per-record basis may hit the
CStore default timeout of 6 seconds for a transaction and automatically
end the transaction, resulting in no work being committed once the script tries
to update the bibliographic record. Searching each controlled field for a
matching authority record can be costly in a database with millions of
authority records.

To enable the script to accomplish its work on underpowered test systems, use a
regular read-only CStoreEditor session to accomplish the lookups and create a
separate CStoreEditor session to issue the update in a transaction if required.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20313 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdd a space between TOC part and TOC title in OpenLibrary added content
dbs [Mon, 25 Apr 2011 18:24:33 +0000 (18:24 +0000)]
Add a space between TOC part and TOC title in OpenLibrary added content

In trunk/rel_2_1 we switched to layout.css for table of contents
styling. We'll keep it simpler for stable 2.0 and handle this
bugfix completely inline.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20305 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoaddress the empty-query case
miker [Fri, 22 Apr 2011 21:37:12 +0000 (21:37 +0000)]
address the empty-query case

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20297 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoDisable Save Columns in xul holds interface when Hold Details is being viewed. https...
phasefx [Fri, 22 Apr 2011 21:13:39 +0000 (21:13 +0000)]
Disable Save Columns in xul holds interface when Hold Details is being viewed.  https://bugs.launchpad.net/evergreen/+bug/691599   Not the best fix, but the quickest fix

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20294 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAddress LP#730743, errant parens cause pain
miker [Fri, 22 Apr 2011 20:50:29 +0000 (20:50 +0000)]
Address LP#730743, errant parens cause pain

Specifically, we prune subplans that contain no nodes (empty parens), and avoid dropping out of the top level query context when we encounter a close-paren.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20291 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoTurn off non-working print button for holds pull
phasefx [Fri, 22 Apr 2011 14:32:12 +0000 (14:32 +0000)]
Turn off non-working print button for holds pull

https://bugs.launchpad.net/evergreen/+bug/727983

Author: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20282 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoPatch from James Fournie to sort statcats in their comboboxes
miker [Fri, 22 Apr 2011 00:41:15 +0000 (00:41 +0000)]
Patch from James Fournie to sort statcats in their comboboxes

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20277 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agocheck user 'active' field in SIP charge_ok (and dependent) calls
erickson [Thu, 21 Apr 2011 13:17:10 +0000 (13:17 +0000)]
check user 'active' field in SIP charge_ok (and dependent) calls

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20270 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoRevert r20035 - restore default copy status for Fast Add to "Available"
dbs [Wed, 20 Apr 2011 20:32:12 +0000 (20:32 +0000)]
Revert r20035 - restore default copy status for Fast Add to "Available"

As noted in https://bugs.launchpad.net/evergreen/+bug/756838, the default
status for "Fast Add" copies has been "Available" since release 1.6.1.0.
Changing the default in the middle of the 2.0 release series would likely
cause more confusion for those sites who appreciate the current Fast Add
behaviour, so this reverts the changes in r20035 and maintains the same
defaults as 1.6.1.0.

Note that in r20264, 2.1.0 will gain two new org unit settings that will
enable sites to control their preferred default copy status for the Fast Add
and Add Volume interfaces.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20265 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoBackport of trunk r20250: Always use BinaryEncodeing => "UTF-8" with MARC::File::XML
miker [Wed, 20 Apr 2011 16:11:58 +0000 (16:11 +0000)]
Backport of trunk r20250: Always use BinaryEncodeing => "UTF-8" with MARC::File::XML

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20252 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoPatch from Jeff Davis addressing parameter usage issues
miker [Wed, 20 Apr 2011 15:41:21 +0000 (15:41 +0000)]
Patch from Jeff Davis addressing parameter usage issues

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20246 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoTypo: Propeties/Properties
dbs [Tue, 19 Apr 2011 21:05:24 +0000 (21:05 +0000)]
Typo: Propeties/Properties

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20226 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoUse top level join instead of subquery in hold queue position query
miker [Tue, 19 Apr 2011 19:51:26 +0000 (19:51 +0000)]
Use top level join instead of subquery in hold queue position query

This is more readily optimized by the Postgres planer.

Note also, for very large data sets (lots of holds, on the order of 100k+ active), the following is also advised:

 ALTER TABLE action.hold_copy_map alter column target_copy SET statistics 500, alter column hold set statistics 500;
 ANALYZE action.hold_copy_map;

This gives the planner better data about the hold-copy-map n-distinct.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20219 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoFix dump-style printing by ensuring 'params' is defined before accessing it
dbwells [Tue, 19 Apr 2011 17:56:49 +0000 (17:56 +0000)]
Fix dump-style printing by ensuring 'params' is defined before accessing it

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20218 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoone more fix, for Show in Catalog on issuance holds
phasefx [Tue, 19 Apr 2011 14:16:54 +0000 (14:16 +0000)]
one more fix, for Show in Catalog on issuance holds

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20198 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agodisplay issuance label, not subscription label
phasefx [Tue, 19 Apr 2011 14:16:51 +0000 (14:16 +0000)]
display issuance label, not subscription label

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20197 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdd xul support for displaying issuance holds (needs testing)
phasefx [Tue, 19 Apr 2011 14:16:48 +0000 (14:16 +0000)]
Add xul support for displaying issuance holds (needs testing)

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20196 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoMark cmc.label for translation, not cmc.name, in seed data
dbs [Tue, 19 Apr 2011 02:54:06 +0000 (02:54 +0000)]
Mark cmc.label for translation, not cmc.name, in seed data

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20194 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoMark cmf and cmc labels as translatable
dbs [Tue, 19 Apr 2011 02:20:56 +0000 (02:20 +0000)]
Mark cmf and cmc labels as translatable

We went to the effort of extracting the translatable text from
950.data.seed-values.sql, but had not marked the fields as
translatable in the IDL. Now at least the out-of-the-box
fields and classes will easily be able to have translations.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20191 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdd openils.widget.Searcher Dojo NLS to the i18n build
dbs [Tue, 19 Apr 2011 01:49:45 +0000 (01:49 +0000)]
Add openils.widget.Searcher Dojo NLS to the i18n build

Necessary for the "advanced" searchbar on the Evergreen
AjaxPAC.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20187 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoCorrect encoding issue with authority_control_fields.pl
dbs [Tue, 19 Apr 2011 01:08:25 +0000 (01:08 +0000)]
Correct encoding issue with authority_control_fields.pl

Is there ever a time when MARC::File::XML would be invoked with
anything other than BinaryEncoding => 'utf-8'? Not here, at
least. Addresses LP# 764582.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20184 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoimprove comments on a couple config tables
gmc [Mon, 18 Apr 2011 15:47:18 +0000 (15:47 +0000)]
improve comments on a couple config tables

Based on suggestions from Mike Rylander and Thomas Berezansky.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20167 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agominor improvements to database object comments
gmc [Mon, 18 Apr 2011 15:47:16 +0000 (15:47 +0000)]
minor improvements to database object comments

* remove copyright, license verbiage, and C-style comment marking
  from the comments; these can live in the SQL scripts
* updated several copyright headers
* minor improvements to documentation of a couple tables

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20166 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoin the MARC Editor, put the callnumber and barcode textboxes for Fast Item Add on...
phasefx [Mon, 18 Apr 2011 05:30:29 +0000 (05:30 +0000)]
in the MARC Editor, put the callnumber and barcode textboxes for Fast Item Add on a separate row

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20153 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoEnable relative paths in i18n testing scripts
dbs [Mon, 18 Apr 2011 05:15:34 +0000 (05:15 +0000)]
Enable relative paths in i18n testing scripts

We were 98% of the way there; now we no longer need to
cd into the same directory as the i18n testing scripts
to run them with meaningful output. Should be useful
for adding these to the CI server.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20150 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoDon't check .js files for entities
dbs [Mon, 18 Apr 2011 04:40:17 +0000 (04:40 +0000)]
Don't check .js files for entities

Must have asked this script to check JS files for valid entities
for a reason at some point in the dark past, but it couldn't have
been a very good reason; we're getting a false positive that needs
to be hushed now. Better to just stop looking for XML entities in
JavaScript.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20147 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAllow NULL "use restriction" fields for located URIs
dbs [Sat, 16 Apr 2011 03:28:36 +0000 (03:28 +0000)]
Allow NULL "use restriction" fields for located URIs

The asset.uri.use_restriction field, which is really a sort of public notes
field for 856 fields, was grabbing the $u subfield (URL) as a sort of last-gasp
effort to give it some data. However, the effect was rather odd and led to
workarounds like Conifer's skin to avoid displaying the use restriction field
if its value was identical to the URL, etc.

Instead, stop grabbing $u and handle the case where use_restriction column is
NULL gracefully, just like the schema intended.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20125 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoDo not clear auri links in default skin
dbs [Sat, 16 Apr 2011 03:19:49 +0000 (03:19 +0000)]
Do not clear auri links in default skin

The dojo orphan() call which attempted to wipe any non-located 856s
was actually wiping the located 856s in the record detail display.

Removing the extra call makes this work in Firefox and Chromium,
at least.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20122 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoDelete ##URI## call numbers and uri_call_number_map entries on bib reingest
dbs [Sat, 16 Apr 2011 02:20:06 +0000 (02:20 +0000)]
Delete ##URI## call numbers and uri_call_number_map entries on bib reingest

This approach will lead to some acn/auricnm ID inflation, but it works.

Addresses LP# 761130 (immortal ##URI## entries in asset.call_number) reported
by Ben Shum and LP# 761085 (cannot delete bib with ##URI## volumes) reported
by Jason Etheridge.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20119 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoProtect dumb JavaScript engines from having to deal with actual Unicode
dbs [Fri, 15 Apr 2011 20:18:05 +0000 (20:18 +0000)]
Protect dumb JavaScript engines from having to deal with actual Unicode

The holdings_xml format did not include an XML declaration, but adding that
as we do here still does not make the Firefox and Chromium JS engines capable
of consuming XML that contains Unicode content outside of the base ASCII
range.

So, we invoke entityize() to convert anything outside of the realm of
ASCII to XML entities. An alternative would be to invoke entityize() in
OpenILS::Application::SuperCat::unAPI::acn but it's not clear if that
would interfere with any other uses.

With this change, library names / copy location names with Unicode content
can be displayed correctly on the search results page.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20114 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoRe-add (from ingest in 1.6) support mulitiple subfield-9 values in a single 856 tag
miker [Fri, 15 Apr 2011 15:46:09 +0000 (15:46 +0000)]
Re-add (from ingest in 1.6) support mulitiple subfield-9 values in a single 856 tag

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20103 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoProtect pcrud-ish retrieve from an empty result set
miker [Fri, 15 Apr 2011 13:56:45 +0000 (13:56 +0000)]
Protect pcrud-ish retrieve from an empty result set

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20096 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoRestore URIs in marcxml-uris unAPI format
dbs [Thu, 14 Apr 2011 21:22:33 +0000 (21:22 +0000)]
Restore URIs in marcxml-uris unAPI format

At some point (r16750) we started doing a numeric comparison of
$flesh instead of just checking to see if $flesh was defined; this
returned false when $flesh == 'uris', preventing URIs from being
included in the marcxml-uris unAPI format.

This restores URIs to marcxml-uris and so we can revert the extra
BibTemplate call in rdetail_summary.xml.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20093 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoSpecify the holdings_xml unAPI format for URI calls
dbs [Thu, 14 Apr 2011 20:39:07 +0000 (20:39 +0000)]
Specify the holdings_xml unAPI format for URI calls

The unAPI marcxml-uris format is not returning URIs at the moment.
While we're getting that fixed, use the holdings_xml format to
get the URI job done; requires an extra JS call, but that's
better than not working at all.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20090 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoEscape rather than filter SIMILAR TO metacharacters in patron crazy search
dbs [Thu, 14 Apr 2011 18:24:42 +0000 (18:24 +0000)]
Escape rather than filter SIMILAR TO metacharacters in patron crazy search

The filtering I introduced in r19983 was overly aggressive, and included
characters that weren't actually SIMILAR TO metacharacters. Instead, escape
each character, carefully going through the list of metacharacters listed at
http://www.postgresql.org/docs/8.4/interactive/functions-matching.html

Works for email addresses like "foo.bar+baz@example.com".

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20087 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoBackport r20082 from trunk
senator [Thu, 14 Apr 2011 17:58:52 +0000 (17:58 +0000)]
Backport r20082 from trunk

Address LP #754880, where printing happens before the progress dialog can be
cleared in the alternate holds pull list print interface

Additionally, provide the usual "print page" button so that the list can be
reprinted at will

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20084 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoupgrade script for consistency w/ schema change in r20073
erickson [Thu, 14 Apr 2011 16:51:55 +0000 (16:51 +0000)]
upgrade script for consistency w/ schema change in r20073

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20081 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agorely on search_path to locate the extract_marc_field() function which is now installe...
erickson [Thu, 14 Apr 2011 16:10:09 +0000 (16:10 +0000)]
rely on search_path to locate the extract_marc_field() function which is now installed in the 'evergreen' schema by default

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20078 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agotweaks to quick_metarecord_map.sql
gmc [Thu, 14 Apr 2011 15:49:54 +0000 (15:49 +0000)]
tweaks to quick_metarecord_map.sql

* used version from wiki, which provides same results as the
  previous version but performs better on large databases
* now works without editing (a vacuum cannot run inside of a transaction)
* don't do vacuum full, just a regular vacuum analyze

[1] http://evergreen-ils.org/dokuwiki/doku.php?id=scratchpad:random_magic_spells#how_to_generate_metarecords_for_a_newly_loaded_bib_batch

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20077 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoProtect search against all-deleted bibs by pinning the estimation ratios in that...
miker [Wed, 13 Apr 2011 16:13:14 +0000 (16:13 +0000)]
Protect search against all-deleted bibs by pinning the estimation ratios in that case

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20067 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agorepaired SQL upgrade syntax error
erickson [Tue, 12 Apr 2011 21:59:44 +0000 (21:59 +0000)]
repaired SQL upgrade syntax error

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20062 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdd a trigger function to simulate FKEY constraints on inherited tables
miker [Tue, 12 Apr 2011 18:16:46 +0000 (18:16 +0000)]
Add a trigger function to simulate FKEY constraints on inherited tables

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20055 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoFinal cleanup for the base schema, re search_path ... I hope
miker [Tue, 12 Apr 2011 17:28:37 +0000 (17:28 +0000)]
Final cleanup for the base schema, re search_path ... I hope

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20050 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoFix functions stranded in the evergreen schema without a search path reference (ugly...
miker [Tue, 12 Apr 2011 17:24:58 +0000 (17:24 +0000)]
Fix functions stranded in the evergreen schema without a search path reference (ugly but mechanical)

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20049 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadd missing upgrade script
gmc [Tue, 12 Apr 2011 16:54:18 +0000 (16:54 +0000)]
add missing upgrade script

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20046 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoLet's not be picky about permissions here; an item needs to go where it needs to...
phasefx [Mon, 11 Apr 2011 16:56:51 +0000 (16:56 +0000)]
Let's not be picky about permissions here; an item needs to go where it needs to go :)

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20042 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agopatch from jamesrf for lp#756880 for Grocery Billing Location in Bill Patron wizard
phasefx [Sun, 10 Apr 2011 21:35:46 +0000 (21:35 +0000)]
patch from jamesrf for lp#756880 for Grocery Billing Location in Bill Patron wizard

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20038 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofor lp bug#756838, consistent copy status for new items. jamesrf++
phasefx [Sun, 10 Apr 2011 20:53:56 +0000 (20:53 +0000)]
for lp bug#756838, consistent copy status for new items.  jamesrf++

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20035 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agorepaired bug in prepayment_required check. property -> method
erickson [Fri, 8 Apr 2011 19:29:16 +0000 (19:29 +0000)]
repaired bug in prepayment_required check.  property -> method

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20032 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoFor transit_slip template, %item_title%, %item_barcode%, etc. need to be in the Heade...
phasefx [Fri, 8 Apr 2011 18:23:33 +0000 (18:23 +0000)]
For transit_slip template, %item_title%, %item_barcode%, etc. need to be in the Header, not the Line Item

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20029 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agotest for pre-cat slightly off in OPAC My Account, spotted by Steve Callender
phasefx [Thu, 7 Apr 2011 18:41:34 +0000 (18:41 +0000)]
test for pre-cat slightly off in OPAC My Account, spotted by Steve Callender

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20019 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofurther fixes to maintain_901
gmc [Thu, 7 Apr 2011 16:03:46 +0000 (16:03 +0000)]
further fixes to maintain_901

Now correctly handles &, <, or > appearing in the tcn_value
or tcn_source.  Also introduces a trivial utility stored
function, evergreen.xml_escape():

evergreen.xml_escape(TEXT) returns TEXT: converts '&', '<',
and '>' to XML entities

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20016 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofix crash when importing/saving bib with '&' in TCN value
gmc [Wed, 6 Apr 2011 20:53:10 +0000 (20:53 +0000)]
fix crash when importing/saving bib with '&' in TCN value

Also fix similar glitch if ampersand is present in the TCN
source.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20005 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoPatch from Thomas Berezansky to support patron priv expiration information in SIP2
miker [Wed, 6 Apr 2011 18:38:16 +0000 (18:38 +0000)]
Patch from Thomas Berezansky to support patron priv expiration information in SIP2

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20000 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agobackport r18757 for org hiding tweak
phasefx [Wed, 6 Apr 2011 18:23:23 +0000 (18:23 +0000)]
backport r18757 for org hiding tweak

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19997 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoPrevent patron search from returning horrible errors on regexian input
dbs [Tue, 5 Apr 2011 03:24:29 +0000 (03:24 +0000)]
Prevent patron search from returning horrible errors on regexian input

Add a utility method, _clean_regex_chars(), to filter common regex
characters out of input values.  When these characters are passed to
database SIMILAR searches, strange things (generally ugly errors) can
happen - so filter them out.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19985 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoMore robust fix for edit highlighting in Serial Control View
dbwells [Mon, 4 Apr 2011 19:46:38 +0000 (19:46 +0000)]
More robust fix for edit highlighting in Serial Control View

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19982 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoFix edit highlighting in Serial Control View
dbwells [Mon, 4 Apr 2011 18:06:14 +0000 (18:06 +0000)]
Fix edit highlighting in Serial Control View

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19977 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoorder line items in PO display by line item ID
gmc [Mon, 4 Apr 2011 18:01:44 +0000 (18:01 +0000)]
order line items in PO display by line item ID

Order was effectively random otherwise.  Use case from at least
one library indicates this change, but doesn't preclude later work
to make the sort order more flexible.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19972 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoreorder tabindex for horizontal patron search. non-flex the search button. thanks...
phasefx [Mon, 4 Apr 2011 17:36:18 +0000 (17:36 +0000)]
reorder tabindex for horizontal patron search.  non-flex the search button.  thanks to sylvar and others for poking

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19970 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years ago2.0.5 upgrade script
miker [Mon, 4 Apr 2011 17:28:15 +0000 (17:28 +0000)]
2.0.5 upgrade script

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19966 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoBooking: in support of r19944, backport newer openils.XUL.newTabEasy() from
senator [Mon, 4 Apr 2011 16:37:18 +0000 (16:37 +0000)]
Booking: in support of r19944, backport newer openils.XUL.newTabEasy() from
trunk as well

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19947 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoBackport r19942 from trunk
senator [Mon, 4 Apr 2011 16:29:17 +0000 (16:29 +0000)]
Backport r19942 from trunk

Booking: This should a) make booking interfaces behave better when a staff
login session times out and is replaced by use of a re-auth dialog, and b)
wrap booking interfaces in a <browser> element with the attendant
back/forward/reload buttons that most similar interfaces already had.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19944 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoBackport r19937 from trunk
senator [Mon, 4 Apr 2011 14:24:17 +0000 (14:24 +0000)]
Backport r19937 from trunk

Ben Ostrowsky pointed out that the alt holds (pull list) printing interface
was trying to include AutoIDL.js from an incorrect path.

I don't believe that file should be included at all, so now I've removed the
broken line.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19939 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdjust upgrade for 2.0
miker [Sat, 2 Apr 2011 17:14:00 +0000 (17:14 +0000)]
Adjust upgrade for 2.0

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19933 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAdd realistic row estimates to tree-ish functions (default is 1000) so that callers...
miker [Sat, 2 Apr 2011 17:10:21 +0000 (17:10 +0000)]
Add realistic row estimates to tree-ish functions (default is 1000) so that callers can make better plans in complex queries; includes four functions backported from 2.1 for simplicity when it comes to upgrading

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19932 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoPatch from Thomas Berezansky to address unneccessary fine generation and avoid unchec...
erickson [Fri, 1 Apr 2011 19:33:04 +0000 (19:33 +0000)]
Patch from Thomas Berezansky to address unneccessary fine generation and avoid unchecked division by zero; details and DCO at https://bugs.launchpad.net/evergreen/+bug/747533

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19929 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoBetter search normalization de-duping when 'params' are used
dbwells [Fri, 1 Apr 2011 15:18:36 +0000 (15:18 +0000)]
Better search normalization de-duping when 'params' are used

This patch addresses search normalization deduping at two levels.  We now verify that both the function and the params are the same before excluding a normalization, both when the normalization is first added to the set and when the SQL is being built (since currently multiple sets may be involved).

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19926 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoreposition these labels to mitigate horizontal scrolling in Holdings Maintenance
phasefx [Fri, 1 Apr 2011 15:05:54 +0000 (15:05 +0000)]
reposition these labels to mitigate horizontal scrolling in Holdings Maintenance

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19923 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoUse identifer indexes for older ISxN API methods (LP Bug #728671)
dbwells [Thu, 31 Mar 2011 18:13:09 +0000 (18:13 +0000)]
Use identifer indexes for older ISxN API methods (LP Bug #728671)

There are three logic layers involved in the older ISxN 'quick searches': the OPAC, the search API, and the storage API.  The approach of this patch is to update the search API (which in turn fixes the OPAC), and ignore/deprecate the storage API for these identifiers.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19922 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoLogic error trying to merge the date component of one date object with the time compo...
phasefx [Thu, 31 Mar 2011 15:18:06 +0000 (15:18 +0000)]
Logic error trying to merge the date component of one date object with the time component of another.  We were trying to use the time object and update it piecemeal, which resulted in non-sensical dates that were forced to wrap.  For example, if the date object was to set to March 31, 2011, and we tried .setMonth(3) on it to change it to April, that would result in an April 31st, which doesn't exist, and the date thus moves forward a certain number of days into May.

This affects Check Out, dedicated Renew interface, and the various date picking functions in Items Out and Holds interfaces.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19919 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoadd item columns to xul-based holds lists
phasefx [Wed, 30 Mar 2011 02:24:59 +0000 (02:24 +0000)]
add item columns to xul-based holds lists

Could argue this fixes a regression, since the original pull list from 1.6 showed the circ modifier, and the xul alternative does not.  So begging forgiveness :)

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19914 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoChange label to "Reset Password" and get button out of tab ordering
dbs [Wed, 30 Mar 2011 01:52:44 +0000 (01:52 +0000)]
Change label to "Reset Password" and get button out of tab ordering

In a keyboard-intensive patron input workflow, pressing tab should
not place focus on the "Reset Password" button; the password is
automatically generated at dialog creation time. Setting tabIndex
to -1 disables tab focus for the button.

Also, the button has been relabeled to "Reset Password" to be
consistent with the previous button.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19911 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoRestore the Reset Password button on patron editor
dbs [Wed, 30 Mar 2011 01:52:12 +0000 (01:52 +0000)]
Restore the Reset Password button on patron editor

Per LP 488243, the Reset Password button that existed on the old
XUL patron editor was lost in the transition to the new Dojo
patron editor. Jason Stephenson stepped up and offered a patch
to restore the functionality.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19910 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofix typo in facet_force_nfc definition
gmc [Wed, 30 Mar 2011 00:41:09 +0000 (00:41 +0000)]
fix typo in facet_force_nfc definition

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19905 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoForce facet values to Unicode NFC to reduce spurious non-matches
miker [Tue, 29 Mar 2011 18:00:02 +0000 (18:00 +0000)]
Force facet values to Unicode NFC to reduce spurious non-matches

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19902 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoInspired by a 1.6 patch from Brandon Uhlman to collect the set of holds not ready...
miker [Tue, 29 Mar 2011 17:57:25 +0000 (17:57 +0000)]
Inspired by a 1.6 patch from Brandon Uhlman to collect the set of holds not ready for pickup, 2.0+ style

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19901 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoin the case of multiple xact event error responses, capture the first for staff clien...
erickson [Tue, 29 Mar 2011 16:22:45 +0000 (16:22 +0000)]
in the case of multiple xact event error responses, capture the first for staff client reporting

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19893 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agobug 744687: fix multi-field MARC expert search
gmc [Tue, 29 Mar 2011 02:09:14 +0000 (02:09 +0000)]
bug 744687: fix multi-field MARC expert search

Fixes bug where a bib that has multiple subfields
meeting one condition of a 2+ field MARC expert
search could end up in the results list even if
it didn't meet the other conditions (currently multi-field
MARC expert searches use implicit 'AND').

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19882 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoFix call-number sorting for non-generic sort keys (LP Bug #737819)
dbwells [Mon, 28 Mar 2011 22:44:05 +0000 (22:44 +0000)]
Fix call-number sorting for non-generic sort keys (LP Bug #737819)

Selecting on 'label' but sorting on 'label_sortkey' did not work properly.  Instead, we will now find the single best call number we can based on the label given, then both select and sort based on that call number's sort key.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19879 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoMARC View print problem workaround (LP Bug #742033)
dbwells [Mon, 28 Mar 2011 18:33:19 +0000 (18:33 +0000)]
MARC View print problem workaround (LP Bug #742033)

Certain printers were failing to print from the MARC View in the staff client.  Adding a simple title to the view ended up being a successful workaround, and is unlikely to have negative consequences in any case.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19876 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAddress LP 744393: Arabic text in en-CA offline.properties
dbs [Mon, 28 Mar 2011 17:28:18 +0000 (17:28 +0000)]
Address LP 744393: Arabic text in en-CA offline.properties

A translator appears to have mistakenly added Arabic text to
the en-CA offline.properties file in Launchpad. This commit
corrects those translations and completes the translation of
the file for 2.0.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19871 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofix up receipt options persistence in billing interface; implement # of receipts...
phasefx [Mon, 28 Mar 2011 16:38:32 +0000 (16:38 +0000)]
fix up receipt options persistence in billing interface; implement # of receipts option (not perfect if using print dialogs; non-blocking and not necessarily queued up)

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19870 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofixes things like the stat cat editor, since that extra param now changes the return...
phasefx [Fri, 25 Mar 2011 18:21:04 +0000 (18:21 +0000)]
fixes things like the stat cat editor, since that extra param now changes the return signature of the method

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19864 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agodata.lookup was broken for cases where data.list[key] didn't exist for a given key
phasefx [Fri, 25 Mar 2011 17:31:29 +0000 (17:31 +0000)]
data.lookup was broken for cases where data.list[key] didn't exist for a given key

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19862 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoAvoid Apache warnings resulting from duplicate NameVirtualHost directives
dbs [Fri, 25 Mar 2011 06:53:43 +0000 (06:53 +0000)]
Avoid Apache warnings resulting from duplicate NameVirtualHost directives

Benjamin Shum reported that the Apache warnings that have been a part
of Evergreen's default configuration on Apache start for ages could
be avoided by commenting out the "NameVirtualHost: *80" line in
eg.conf. Testing confirmed that the directive was not necessary on Ubuntu,
Debian, or Fedora. As this warning has been the cause for unnecessary concern
on the part of many new adopters of Evergreen, getting rid of it appears to
be a nice usability win.

Thanks Ben!

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19859 dcc99617-32d9-48b4-a31d-7c20da2025e4