evergreen/joelewis.git
15 years agoBackport r18051: fix a glitch with the granularity column of the event def UI
senator [Mon, 27 Sep 2010 20:56:17 +0000 (20:56 +0000)]
Backport r18051: fix a glitch with the granularity column of the event def UI

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

15 years agoadjustments to pubdate sorting patch
gmc [Mon, 27 Sep 2010 20:15:28 +0000 (20:15 +0000)]
adjustments to pubdate sorting patch

* handle upgrade for date1/date2 containing the empty string
* syntax error fix

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

15 years agofix another hold targeting glitch
gmc [Mon, 27 Sep 2010 19:48:57 +0000 (19:48 +0000)]
fix another hold targeting glitch

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

15 years agofix glitch in hold target OU weighting
gmc [Mon, 27 Sep 2010 19:27:39 +0000 (19:27 +0000)]
fix glitch in hold target OU weighting

We want to weight by the copy's circulation library, not the
pickup library.

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

15 years agomissed in the previous commit, sorry folks
miker [Mon, 27 Sep 2010 19:24:31 +0000 (19:24 +0000)]
missed in the previous commit, sorry folks

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

15 years agoBackport r18041 from trunk: Correct the subquery for A/T opt_in_setting
miker [Mon, 27 Sep 2010 19:17:27 +0000 (19:17 +0000)]
Backport r18041 from trunk: Correct the subquery for A/T opt_in_setting

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

15 years agoBackporting 18039 from trunk: make pubdate sorting on search faster by pre-munging...
miker [Mon, 27 Sep 2010 19:14:14 +0000 (19:14 +0000)]
Backporting 18039 from trunk: make pubdate sorting on search faster by pre-munging date1 and date2 into an acceptable sortkey

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

15 years agofix default path to selfcheck sounds
gmc [Mon, 27 Sep 2010 18:51:29 +0000 (18:51 +0000)]
fix default path to selfcheck sounds

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

15 years agobackporting some xact management fine tuning
erickson [Mon, 27 Sep 2010 18:34:48 +0000 (18:34 +0000)]
backporting some xact management fine tuning

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

15 years agoBackport r18034 from trunk: use transaction when gathering records from a newly creat...
miker [Mon, 27 Sep 2010 18:33:41 +0000 (18:33 +0000)]
Backport r18034 from trunk: use transaction when gathering records from a newly created queue; adjust rollback usage in import loop

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

15 years agoBackporting r17984 from trunk: pedantic protection of cstore backends -- always use...
miker [Mon, 27 Sep 2010 18:04:34 +0000 (18:04 +0000)]
Backporting r17984 from trunk: pedantic protection of cstore backends -- always use die_event when in xact mode, and rollback otherwise

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

15 years agomerge part of r18002, and all of r18003 and r18004 from trunk for persistent/sticky...
phasefx [Mon, 27 Sep 2010 16:38:08 +0000 (16:38 +0000)]
merge part of r18002, and all of r18003 and r18004 from trunk for persistent/sticky slider positions and window sizes

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

15 years agoaccidental change in previous commit. long term plan here is a 'slip' printer role
phasefx [Mon, 27 Sep 2010 16:31:04 +0000 (16:31 +0000)]
accidental change in previous commit.  long term plan here is a 'slip' printer role

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

15 years agosince we're enforcing the requiredness of address type, let's give it a default value...
phasefx [Mon, 27 Sep 2010 16:29:50 +0000 (16:29 +0000)]
since we're enforcing the requiredness of address type, let's give it a default value (since empty strings don't work with these widgets)

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

15 years agoBackport r18027 from trunk: Adjust hold-to-record view to cover I, F and R hold types
miker [Mon, 27 Sep 2010 16:15:52 +0000 (16:15 +0000)]
Backport r18027 from trunk: Adjust hold-to-record view to cover I, F and R hold types

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

15 years agoBackport r18025 from trunk: Provide for limiting the number of classOrder elements...
miker [Mon, 27 Sep 2010 15:31:50 +0000 (15:31 +0000)]
Backport r18025 from trunk: Provide for limiting the number of classOrder elements to a specific number. Skips those without facet values.

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

15 years agoResolve differences between stored procedures in a freshly installed
scottmk [Mon, 27 Sep 2010 12:45:58 +0000 (12:45 +0000)]
Resolve differences between stored procedures in a freshly installed
2.0 database and those in an upgraded one.

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

15 years agoavoid multiple clicks of selfcheck logout link
gmc [Mon, 27 Sep 2010 01:43:38 +0000 (01:43 +0000)]
avoid multiple clicks of selfcheck logout link

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

15 years agobackport 18017: honor SIP return date as the circ backdate
erickson [Sun, 26 Sep 2010 23:24:35 +0000 (23:24 +0000)]
backport 18017: honor SIP return date as the circ backdate

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

15 years agobackport 18016: no need to warn when emails may just be disabled
erickson [Sun, 26 Sep 2010 23:23:47 +0000 (23:23 +0000)]
backport 18016: no need to warn when emails may just be disabled

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

15 years agobackport 18015 : push copy location order update into ML method. return updated order...
erickson [Sun, 26 Sep 2010 23:22:24 +0000 (23:22 +0000)]
backport 18015 : push copy location order update into ML method. return updated orders from method to prevent replication issues. update UI JS to match

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

15 years agoRemove a debugging statement that slipped in
dbs [Sun, 26 Sep 2010 18:35:17 +0000 (18:35 +0000)]
Remove a debugging statement that slipped in

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

15 years agoadded missing columns to CDBI table definitions
gmc [Sun, 26 Sep 2010 16:27:16 +0000 (16:27 +0000)]
added missing columns to CDBI table definitions

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

15 years agoBackport r18009 from trunk: Only show facetOrder limited facets that have values
miker [Sun, 26 Sep 2010 15:53:53 +0000 (15:53 +0000)]
Backport r18009 from trunk: Only show facetOrder limited facets that have values

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

15 years agoBackport r18007 from trunk: allow more complex facet ordering
miker [Sun, 26 Sep 2010 15:33:05 +0000 (15:33 +0000)]
Backport r18007 from trunk: allow more complex facet ordering

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

15 years agomake address_type required in the patron editor, otherwise a blank value sends a...
phasefx [Sun, 26 Sep 2010 03:17:31 +0000 (03:17 +0000)]
make address_type required in the patron editor, otherwise a blank value sends a null to the db where it silently fails

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

15 years agomore selfcheck receipt transaction hackery
gmc [Sun, 26 Sep 2010 02:50:27 +0000 (02:50 +0000)]
more selfcheck receipt transaction hackery

Instead of having authoritative versions of
open-ils.circ.fire_*_trigger_events, wrap just the
target retrieval itself in a transaction.  Avoids as
yet unexplained rollback failure that occurs if
processing a selfcheck receipt with more than a few items on it.

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

15 years agodon't leak cstores if CStoreEditor rollback fails
gmc [Sun, 26 Sep 2010 02:43:34 +0000 (02:43 +0000)]
don't leak cstores if CStoreEditor rollback fails

Patch by Mike Rylander.

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

15 years agoBackport r17992 from trunk: misplaced paranoia
senator [Sat, 25 Sep 2010 03:54:33 +0000 (03:54 +0000)]
Backport r17992 from trunk: misplaced paranoia

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

15 years agoBackport r17989 from trunk
senator [Sat, 25 Sep 2010 03:45:43 +0000 (03:45 +0000)]
Backport r17989 from trunk

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

15 years agoevents don't have granularity's. removing
erickson [Sat, 25 Sep 2010 03:27:57 +0000 (03:27 +0000)]
events don't have granularity's.  removing

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

15 years agoBackport r17985
senator [Sat, 25 Sep 2010 01:13:58 +0000 (01:13 +0000)]
Backport r17985

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

15 years agoBackport r17982 from trunk
senator [Sat, 25 Sep 2010 00:56:50 +0000 (00:56 +0000)]
Backport r17982 from trunk

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

15 years agomore transaction cleanups
erickson [Fri, 24 Sep 2010 23:07:00 +0000 (23:07 +0000)]
more transaction cleanups

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

15 years agoclean up the fire_object_events cstore xact
erickson [Fri, 24 Sep 2010 22:24:48 +0000 (22:24 +0000)]
clean up the fire_object_events cstore xact

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

15 years agobackport 17976 from trunk
gmc [Fri, 24 Sep 2010 20:55:14 +0000 (20:55 +0000)]
backport 17976 from trunk

Remove confusing older targeter version; move status trimming to earlier in the process --miker

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

15 years agoBackport r17974 from trunk
senator [Fri, 24 Sep 2010 20:12:47 +0000 (20:12 +0000)]
Backport r17974 from trunk

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

15 years agoBackport r17972 from trunk: removed extra {}s from where clause
miker [Fri, 24 Sep 2010 19:38:22 +0000 (19:38 +0000)]
Backport r17972 from trunk: removed extra {}s from where clause

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

15 years agospawn item attribute editor instead of item notes UI during process missing pieces...
phasefx [Fri, 24 Sep 2010 18:23:43 +0000 (18:23 +0000)]
spawn item attribute editor instead of item notes UI during process missing pieces workflow

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

15 years agoBackporting hold queue stats fixes from 17956, 17957 and 17963
miker [Fri, 24 Sep 2010 18:13:17 +0000 (18:13 +0000)]
Backporting hold queue stats fixes from 17956, 17957 and 17963

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

15 years agomerge r17958 from trunk for patron display juvenile CSS
phasefx [Fri, 24 Sep 2010 18:05:55 +0000 (18:05 +0000)]
merge r17958 from trunk for patron display juvenile CSS

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

15 years agoimprove hold targetting
gmc [Fri, 24 Sep 2010 16:40:07 +0000 (16:40 +0000)]
improve hold targetting

* all potential capturable copies are now checked (up to the first
  one that is permitted for the request), instead of a small random
  subset of them
* don't do redundant permission checks

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

15 years agothis call returns an array; fixes surprise stat cats in patron display
phasefx [Fri, 24 Sep 2010 05:49:25 +0000 (05:49 +0000)]
this call returns an array; fixes surprise stat cats in patron display

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

15 years agoBackport r17950 from trunk
senator [Fri, 24 Sep 2010 04:46:25 +0000 (04:46 +0000)]
Backport r17950 from trunk

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

15 years agoWe're starting to get events where ilsevent == empty string now, not just null or...
phasefx [Fri, 24 Sep 2010 02:37:33 +0000 (02:37 +0000)]
We're starting to get events where ilsevent == empty string now, not just null or a number.

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

15 years agoBackport r17946 from trunk: use _session_request in RO calls
miker [Fri, 24 Sep 2010 01:48:09 +0000 (01:48 +0000)]
Backport r17946 from trunk: use _session_request in RO calls

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

15 years agoApply some fixes that were earlier applied to the base installation script
scottmk [Fri, 24 Sep 2010 00:54:33 +0000 (00:54 +0000)]
Apply some fixes that were earlier applied to the base installation script
090.schema.action.sql, but not in an upgrade script.

Also: correct a typo (INTEVAL -> INTERVAL).  Hence this upgrade needs to go
to v2.0 as well as to trunk.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0418.function.action.fix-purge-circ.sql

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

15 years agoBackport r17941 from trunk: miker's permacrud authoritative search
senator [Fri, 24 Sep 2010 00:16:12 +0000 (00:16 +0000)]
Backport r17941 from trunk: miker's permacrud authoritative search

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

15 years agoBackport r17939 from trunk: Stopping the leak
miker [Thu, 23 Sep 2010 23:50:20 +0000 (23:50 +0000)]
Backport r17939 from trunk: Stopping the leak

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

15 years agoI can has authoritative for selfcheck receipts
erickson [Thu, 23 Sep 2010 23:01:47 +0000 (23:01 +0000)]
I can has authoritative for selfcheck receipts

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

15 years agoBackport r17933 from trunk: unneeded comma removed to placate IE
senator [Thu, 23 Sep 2010 21:00:20 +0000 (21:00 +0000)]
Backport r17933 from trunk: unneeded comma removed to placate IE

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

15 years agorepaired search call for user_setting. cstoreeditor uses the fieldmapper name, sos...
erickson [Thu, 23 Sep 2010 20:48:27 +0000 (20:48 +0000)]
repaired search call for user_setting. cstoreeditor uses the fieldmapper name, sos/usr/user/

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

15 years agoResolving various discrepancies between a freshly built 2.0
scottmk [Thu, 23 Sep 2010 18:58:38 +0000 (18:58 +0000)]
Resolving various discrepancies between a freshly built 2.0
database and an upgraded one.

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

15 years agodisable holds Detail View button until the asynchronously loading details UI is ready
phasefx [Thu, 23 Sep 2010 16:35:55 +0000 (16:35 +0000)]
disable holds Detail View button until the asynchronously loading details UI is ready

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

15 years agoBackport r17913 from trunk: event firing util code needs to run in a xact
miker [Thu, 23 Sep 2010 15:47:54 +0000 (15:47 +0000)]
Backport r17913 from trunk: event firing util code needs to run in a xact

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

15 years agoBackport r17912 from trunk: Have the CStoreEditor grow a DESTROY
miker [Thu, 23 Sep 2010 15:47:13 +0000 (15:47 +0000)]
Backport r17912 from trunk: Have the CStoreEditor grow a DESTROY

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

15 years agoMerging r17905 and r17914 from trunk: A/T transaction semantics fixes
miker [Thu, 23 Sep 2010 15:46:26 +0000 (15:46 +0000)]
Merging r17905 and r17914 from trunk: A/T transaction semantics fixes

r17905: Use a transaction to avoid talking to a replicated db when building A/T data structures
r17914: In EventGroup.pm, fetch updated event back from the R/W db before comitting

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

15 years agoForward-port of a patch from Steve Callendar, via James Fournie, via launchpad:
miker [Thu, 23 Sep 2010 15:40:48 +0000 (15:40 +0000)]
Forward-port of a patch from Steve Callendar, via James Fournie, via launchpad:

When the patron.password.use_phone is set, new patrons are created with their password set to the last 4 digits of their phone number, HOWEVER, when a
 patron's password is reset, it does not work properly. Although the little underlined summary shows the proper 4 digits, the password box displays 9-
ish digits, and is not the last 4 digits of the password.

The attached patch was created by Steve Callender and is confirmed working on 1.6.0

ORIGINAL CAVEAT: This patch will not work on 2.0 as that has a new user editor, but it would presumably be worthwhile to verify this functionality wor
ks in that editor as well.

ED NOTE: Because it is possible to use the old editor -- it still exists -- this patch should be applied.  It does what it advertises to do, which is
fix the old editor to follow the "use phone number" OU setting.

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

15 years agoDropping and recreating a foreign key constraint for config.metabib_field,
scottmk [Thu, 23 Sep 2010 13:45:08 +0000 (13:45 +0000)]
Dropping and recreating a foreign key constraint for config.metabib_field,
in order to change its name.  WHen this foreign key was first introduced,
the upgrade script gave it one name and the base install script gave it
a different name.  Here we bring the names into sync.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0415.schema.rename-field-class-fkey.sql

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

15 years agoRemove most annoying UI "feature" of the new authority browse list interface
dbs [Thu, 23 Sep 2010 03:46:09 +0000 (03:46 +0000)]
Remove most annoying UI "feature" of the new authority browse list interface

When I added the new authority browse list interface, I used dojo.xhrGet()
to retrieve records from the authority browse backend - but because I didn't
specify sync:true, when you first right-clicked on a subfield, the function
would return immediately and default to showing the context menu. You would
then need to click two more times to show the authority list.

Now you get it on your first right-click, as it should be.

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

15 years agoBrowse through 20 authority records at a time in management interface
dbs [Thu, 23 Sep 2010 03:18:55 +0000 (03:18 +0000)]
Browse through 20 authority records at a time in management interface

The default browse list is set to 9 elements, but we have enough vertical
space to make use of more. Perhaps we should check the font size and
viewport height and then adjust accordingly, but that would be Hard.

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

15 years agoBackport r17906: Remove most UI annoyances from authority management interface
dbs [Thu, 23 Sep 2010 03:11:26 +0000 (03:11 +0000)]
Backport r17906: Remove most UI annoyances from authority management interface

  * term input field now gets the focus automatically
  * pressing enter in most places submits a new search
  * removed the onBlur event as that required users to click a second
    time to open the action menu

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

15 years agoBackport r17903 from trunk: only flesh up to, but not including, the leaf for the...
miker [Thu, 23 Sep 2010 02:13:19 +0000 (02:13 +0000)]
Backport r17903 from trunk: only flesh up to, but not including, the leaf for the group_field

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

15 years agoBackport r17901 from trunk: IDL chunking fixin'
senator [Thu, 23 Sep 2010 00:34:55 +0000 (00:34 +0000)]
Backport r17901 from trunk: IDL chunking fixin'

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

15 years agoBackport r17899 from trunk: fix a pull list sorting issue
senator [Thu, 23 Sep 2010 00:14:56 +0000 (00:14 +0000)]
Backport r17899 from trunk: fix a pull list sorting issue

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

15 years agomerge r17896-17897 from trunk for printing fixes
phasefx [Wed, 22 Sep 2010 20:03:09 +0000 (20:03 +0000)]
merge r17896-17897 from trunk for printing fixes

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

15 years agomerge r17894 from trunk to fix bug in Item Status -> Alternate View for items with...
phasefx [Wed, 22 Sep 2010 19:38:45 +0000 (19:38 +0000)]
merge r17894 from trunk to fix bug in Item Status -> Alternate View for items with no circ modifier

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

15 years agomerge r17892 from trunk for holdings maintenance fix allowing volumes at top of org...
phasefx [Wed, 22 Sep 2010 19:31:53 +0000 (19:31 +0000)]
merge r17892 from trunk for holdings maintenance fix allowing volumes at top of org tree

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

15 years agoAdding a trigger. Upgrade # 0364 created the trigger function but not
scottmk [Wed, 22 Sep 2010 19:16:25 +0000 (19:16 +0000)]
Adding a trigger.  Upgrade # 0364 created the trigger function but not
the trigger itself.  However the base install script 040.schema.asset.sql
creates both the function and the trigger.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0414.schema.call-number-upd-ins-trigger.sql

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

15 years agoFor action.circulation and action.aged_circulation: add indexes
scottmk [Wed, 22 Sep 2010 15:59:05 +0000 (15:59 +0000)]
For action.circulation and action.aged_circulation: add indexes
on the target_copy column.

This change was made in upgrade script # 0017, but was apparently
never applied to the base install script.

M    Open-ILS/src/sql/Pg/090.schema.action.sql

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

15 years agoIn acq.fund_transfer: drop the NOT NULL constraint from dest_fund and
scottmk [Wed, 22 Sep 2010 12:55:26 +0000 (12:55 +0000)]
In acq.fund_transfer: drop the NOT NULL constraint from dest_fund and
dest_amount, in order to accommodate deallocations -- where we move
money out of a fund without moving it into another fund.

This change was applied via upgrade script # 0135, but apparently was
never applied to the base installation script.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql

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

15 years agoForward port r17847: Make query parser a bit more careful when converting convenience...
dbs [Wed, 22 Sep 2010 02:13:21 +0000 (02:13 +0000)]
Forward port r17847: Make query parser a bit more careful when converting convenience classes to search classes

Queries like "Heart disease: a global problem" were getting converted to series searches
due to the trailing "se:" in the search terms. This change ensures that the convenience
class is either at the start of the input or preceded by whitespace.

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

15 years agohandle null as a return result for an empty list
phasefx [Wed, 22 Sep 2010 01:04:09 +0000 (01:04 +0000)]
handle null as a return result for an empty list

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

15 years agomerge r17879 from trunk to increase timeout for full pull list call
phasefx [Wed, 22 Sep 2010 00:56:44 +0000 (00:56 +0000)]
merge r17879 from trunk to increase timeout for full pull list call

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

15 years agoReplace some changes that had inadvertently been deleted
scottmk [Tue, 21 Sep 2010 19:08:57 +0000 (19:08 +0000)]
Replace some changes that had inadvertently been deleted

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

15 years agoDon't make new auditor columns NOT NULL, or update them
scottmk [Tue, 21 Sep 2010 18:32:07 +0000 (18:32 +0000)]
Don't make new auditor columns NOT NULL, or update them

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

15 years agoDon't update history tables to fill in new columns
scottmk [Tue, 21 Sep 2010 18:18:04 +0000 (18:18 +0000)]
Don't update history tables to fill in new columns

M    Open-ILS/src/sql/Pg/upgrade/0413.schema.upgrade-auditor-tables.sql

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

15 years agoResolve some discrepancies in the auditor schema between a freshly installed
scottmk [Tue, 21 Sep 2010 17:47:50 +0000 (17:47 +0000)]
Resolve some discrepancies in the auditor schema between a freshly installed
database and an upgraded one.

A    Open-ILS/src/sql/Pg/upgrade/0413.schema.upgrade-auditor-tables.sql

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

15 years agomerge r17869 from trunk for offline printer role
phasefx [Tue, 21 Sep 2010 17:03:24 +0000 (17:03 +0000)]
merge r17869 from trunk for offline printer role

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

15 years agomerge r17867 from trunk for HoldIsCancelled action_trigger validator
phasefx [Tue, 21 Sep 2010 16:21:00 +0000 (16:21 +0000)]
merge r17867 from trunk for HoldIsCancelled action_trigger validator

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

15 years agoCorrect various discrepancies, especially in the auditor schema,
scottmk [Tue, 21 Sep 2010 15:40:19 +0000 (15:40 +0000)]
Correct various discrepancies, especially in the auditor schema,
between a freshly installed 2.0 database and an upgraded one.

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

15 years agobackport r17862 and r17863 from trunk
gmc [Tue, 21 Sep 2010 14:25:07 +0000 (14:25 +0000)]
backport r17862 and r17863 from trunk

Two new internal_flags to improve parallel bib ingest.

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

15 years agoBackport r17860 from trunk: Clean up description of ARN in O:A:Cat::Authority now...
dbs [Tue, 21 Sep 2010 03:56:46 +0000 (03:56 +0000)]
Backport r17860 from trunk: Clean up description of ARN in O:A:Cat::Authority now that arn_value is gone

A comment in the create_authority_record_from_bib_field() method stated that
the ARN value needed to be unique across the database; that is no longer true
as of r17722. Fix comment accordingly.

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

15 years agoMerge r17587 and r17588 from trunk to add $0 control subfields for newly controlled...
dbs [Tue, 21 Sep 2010 03:48:32 +0000 (03:48 +0000)]
Merge r17587 and r17588 from trunk to add $0 control subfields for newly controlled fields

In the MARC editor, when editing a bibliographic record and right-clicking on
a controllable subfield, the "Create new authority from this field" options
now both add a $0 control subfield to the target bib field once the new
auth record has successfully been created.

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

15 years agoBackport r17855 from trunk: Use verbose parameters for createdb
dbs [Tue, 21 Sep 2010 03:06:49 +0000 (03:06 +0000)]
Backport r17855 from trunk: Use verbose parameters for createdb

Thomas Berezansky noticed that the README was using "createdb -t template0",
which isn't a valid option. To avoid case problems and to be more apparent
what these options mean, let's use the verbose parameters.

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

15 years agoBackport r17853 from trunk
senator [Mon, 20 Sep 2010 22:51:28 +0000 (22:51 +0000)]
Backport r17853 from trunk

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

15 years agoadd missing upgrade script for maintain_901() stored function
gmc [Mon, 20 Sep 2010 20:59:36 +0000 (20:59 +0000)]
add missing upgrade script for maintain_901() stored function

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

15 years agoBackport r17848 from trunk, sort of
senator [Mon, 20 Sep 2010 20:56:27 +0000 (20:56 +0000)]
Backport r17848 from trunk, sort of

In rel_2_0, one of these permissions was already there, and the IDs are
different, but this should be functionally equivalent.

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

15 years agoBackport BibTemplate callback support from trunk
miker [Mon, 20 Sep 2010 19:14:28 +0000 (19:14 +0000)]
Backport BibTemplate callback support from trunk

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

15 years agoback-port: 17844 => added pgpt class to pre-load set
erickson [Mon, 20 Sep 2010 18:25:07 +0000 (18:25 +0000)]
back-port: 17844 => added pgpt class to pre-load set

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

15 years agoResolving various discrepancies between an upgraded 2.0 database
scottmk [Mon, 20 Sep 2010 18:07:00 +0000 (18:07 +0000)]
Resolving various discrepancies between an upgraded 2.0 database
and a freshly installed one.

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

15 years agoBackport r17840: misspelling fixing
senator [Mon, 20 Sep 2010 17:53:22 +0000 (17:53 +0000)]
Backport r17840: misspelling fixing

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

15 years agomerge r17838 from trunk, change to stat cat display in horizontal patron summary
phasefx [Mon, 20 Sep 2010 17:33:00 +0000 (17:33 +0000)]
merge r17838 from trunk, change to stat cat display in horizontal patron summary

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

15 years agoback-port: 17836 => addd missing opac_visible col and labels to config.usr_setting_type
erickson [Mon, 20 Sep 2010 17:10:12 +0000 (17:10 +0000)]
back-port: 17836 =>  addd missing opac_visible col and labels to config.usr_setting_type

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

15 years agomarc_add_ids - better failure recovery
gmc [Mon, 20 Sep 2010 08:28:33 +0000 (08:28 +0000)]
marc_add_ids - better failure recovery

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

15 years agoBackport r17831 from trunk: holding code miniwizard
senator [Mon, 20 Sep 2010 07:30:35 +0000 (07:30 +0000)]
Backport r17831 from trunk: holding code miniwizard

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

15 years agoBackport r17829 from trunk: actions menu to ordinary select in li table
senator [Mon, 20 Sep 2010 05:05:43 +0000 (05:05 +0000)]
Backport r17829 from trunk: actions menu to ordinary select in li table

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

15 years agoBackport r17827 from trunk: Search for humans: AND and OR are more understandable...
dbs [Mon, 20 Sep 2010 04:34:49 +0000 (04:34 +0000)]
Backport r17827 from trunk: Search for humans: AND and OR are more understandable than "&&" and "||"

The operators && and || will not mean much to many people, whereas AND and
OR have common meanings that will aid in understanding the advanced search
interface.

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

15 years agoBackport r17825 from trunk: changing "Picklist" to "Selection List"
senator [Mon, 20 Sep 2010 04:19:38 +0000 (04:19 +0000)]
Backport r17825 from trunk: changing "Picklist" to "Selection List"

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

15 years agoBackport r17823 from trunk: acq po and invoice interfaces
senator [Mon, 20 Sep 2010 00:55:54 +0000 (00:55 +0000)]
Backport r17823 from trunk: acq po and invoice interfaces

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