]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
15 years agoadded option to flesh total spent/encumbered for a PO
erickson [Mon, 20 Apr 2009 00:44:51 +0000 (00:44 +0000)]
added option to flesh total spent/encumbered for a PO

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

15 years agoadded virtual fields for total encumbered and total spent for a PO
erickson [Mon, 20 Apr 2009 00:43:50 +0000 (00:43 +0000)]
added virtual fields for total encumbered and total spent for a PO

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

15 years agomore enhanced lineitem price setting. updates existing debits if necessary
erickson [Sun, 19 Apr 2009 23:36:28 +0000 (23:36 +0000)]
more enhanced lineitem price setting.  updates existing debits if necessary

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

15 years agoRemove variables that aren't actually used anywhere in the script
dbs [Sun, 19 Apr 2009 16:50:59 +0000 (16:50 +0000)]
Remove variables that aren't actually used anywhere in the script

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

15 years agoprovide a non-emtpy default for the site portion of the pathinfo
miker [Fri, 17 Apr 2009 23:50:14 +0000 (23:50 +0000)]
provide a non-emtpy default for the site portion of the pathinfo

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

15 years agoAdd CREATE TABLE statements, and the associated IDL entries,
scottmk [Fri, 17 Apr 2009 18:15:12 +0000 (18:15 +0000)]
Add CREATE TABLE statements, and the associated IDL entries,
for two new tables:

acq.fund_tag
acq.fund_tag_map

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

15 years agoadding item-age axis to the browse interface
miker [Fri, 17 Apr 2009 18:07:40 +0000 (18:07 +0000)]
adding item-age axis to the browse interface

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

15 years agoadding explicit feed support for MODS 3.2 and 3.3, to support item/volume data (...
miker [Fri, 17 Apr 2009 18:06:46 +0000 (18:06 +0000)]
adding explicit feed support for MODS 3.2 and 3.3, to support item/volume data (-full mode) in feeds

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

15 years agoMODS33 introduced some annoying changes to the way URLs are treated;
dbs [Fri, 17 Apr 2009 16:58:40 +0000 (16:58 +0000)]
MODS33 introduced some annoying changes to the way URLs are treated;
  ind2=0 no longer generates a location element, just a uri. ugh.

Roll back to MODS32 for index and display purposes.

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

15 years ago'funding types' is a misnomer.. they're just funds
erickson [Fri, 17 Apr 2009 13:05:03 +0000 (13:05 +0000)]
'funding types' is a misnomer.. they're just funds

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

15 years agothinko
erickson [Fri, 17 Apr 2009 01:21:06 +0000 (01:21 +0000)]
thinko

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

15 years agoimplemented lineitem and lineitem_detail receive
erickson [Thu, 16 Apr 2009 21:52:49 +0000 (21:52 +0000)]
implemented lineitem and lineitem_detail receive

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

15 years agofixed logic error in check lineitem received. don't update picklist/po on li update...
erickson [Thu, 16 Apr 2009 21:52:12 +0000 (21:52 +0000)]
fixed logic error in check lineitem received.  don't update picklist/po on li update becuase we're re-updating over and over

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

15 years agoIn oils_cstore.c, tightened validation for partial autojoins, i.e.
scottmk [Thu, 16 Apr 2009 21:48:39 +0000 (21:48 +0000)]
In oils_cstore.c, tightened validation for partial autojoins, i.e.
when the query specifies only one of the join columns.

When looking up the other join column in the IDL, make sure that the
link used points to the right table.  Also make sure that the reltype
for the link is not "has_many", because that would imply that the
link is virtual, and the designated column doesn't exist in the
database.

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

15 years agologic bug
erickson [Thu, 16 Apr 2009 21:33:50 +0000 (21:33 +0000)]
logic bug

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

15 years agodon't append to the catalog link if it's already set
erickson [Thu, 16 Apr 2009 20:42:18 +0000 (20:42 +0000)]
don't append to the catalog link if it's already set

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

15 years agomore notes tweaks
erickson [Thu, 16 Apr 2009 20:37:29 +0000 (20:37 +0000)]
more notes tweaks

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

15 years agocreate / edit lineitem notes
erickson [Thu, 16 Apr 2009 19:56:16 +0000 (19:56 +0000)]
create / edit lineitem notes

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

15 years agoML lineitem note CUD method
erickson [Thu, 16 Apr 2009 19:54:19 +0000 (19:54 +0000)]
ML lineitem note CUD method

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

15 years agoinitial support for lineitem notes
erickson [Thu, 16 Apr 2009 15:57:49 +0000 (15:57 +0000)]
initial support for lineitem notes

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

15 years agoimplemented PO receive rollback and api's for li and lid rollback. li/lid ui to...
erickson [Thu, 16 Apr 2009 15:29:54 +0000 (15:29 +0000)]
implemented PO receive rollback and api's for li and lid rollback.  li/lid ui to come

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

15 years agouse new receive response types. cleaned up some progress handling
erickson [Thu, 16 Apr 2009 14:56:01 +0000 (14:56 +0000)]
use new receive response types.  cleaned up some progress handling

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

15 years agoBalance out connect() and disconnect() in _extract_856_uri
dbs [Thu, 16 Apr 2009 14:54:40 +0000 (14:54 +0000)]
Balance out connect() and disconnect() in _extract_856_uri

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

15 years agomove po/lid receive process into order.pm. added receive operation for lineitem
erickson [Thu, 16 Apr 2009 14:54:21 +0000 (14:54 +0000)]
move po/lid receive process into order.pm.  added receive operation for lineitem

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

15 years agomove to autogrid
erickson [Thu, 16 Apr 2009 14:45:18 +0000 (14:45 +0000)]
move to autogrid

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

15 years agoDouble-dashes anger the XML gods if you try to comment out the example extensions
dbs [Thu, 16 Apr 2009 14:11:47 +0000 (14:11 +0000)]
Double-dashes anger the XML gods if you try to comment out the example extensions

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

15 years agoIn oils_cstore.c: fix autojoin, i.e. the facility for constructing
scottmk [Thu, 16 Apr 2009 12:48:54 +0000 (12:48 +0000)]
In oils_cstore.c: fix autojoin, i.e. the facility for constructing
a join when the JSON query doesn't specify the columns involved.

When looking up a foreign key linkage in the IDL, ignore the parent
table's end of the link (where reltype = "has_many"), because the
parent doesn't know the name of the column at the other end.

Now an autojoin can work regardless of which table is subordinate
to which.

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

15 years agoadded callnumber to the batch operation set
erickson [Wed, 15 Apr 2009 19:43:01 +0000 (19:43 +0000)]
added callnumber to the batch operation set

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

15 years agoadded circ_modifier and note fields to li details edit page
erickson [Wed, 15 Apr 2009 19:33:05 +0000 (19:33 +0000)]
added circ_modifier and note fields to li details edit page

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

15 years agomoved li_detail CUD into order. removed old lid code
erickson [Wed, 15 Apr 2009 19:32:27 +0000 (19:32 +0000)]
moved li_detail CUD into order.  removed old lid code

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

15 years agoprovide option to leave lineitem_details when purging PO if the li points to a picklist
erickson [Wed, 15 Apr 2009 16:09:30 +0000 (16:09 +0000)]
provide option to leave lineitem_details when purging PO if the li points to a picklist

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

15 years agooption to skip asset creation at po create time with existing picklist. similar...
erickson [Wed, 15 Apr 2009 16:08:48 +0000 (16:08 +0000)]
option to skip asset creation at po create time with existing picklist.  similar update clues added to po/asset create that are in upload

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

15 years agomoved po create into order.pm. some other refactoring of asset creation
erickson [Wed, 15 Apr 2009 16:07:47 +0000 (16:07 +0000)]
moved po create into order.pm.  some other refactoring of asset creation

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

15 years agoif we keep the li around, reset some other fields
erickson [Wed, 15 Apr 2009 15:49:51 +0000 (15:49 +0000)]
if we keep the li around, reset some other fields

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

15 years agodon't remove the lineitem and attrs if it points to a selection list
erickson [Wed, 15 Apr 2009 15:45:42 +0000 (15:45 +0000)]
don't remove the lineitem and attrs if it points to a selection list

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

15 years agopgsql-server-dev is not a client requirement
dbs [Wed, 15 Apr 2009 15:12:05 +0000 (15:12 +0000)]
pgsql-server-dev is not a client requirement

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

15 years agoprotect the org trail from the top of the tree WITHOUT breaking everything...
miker [Wed, 15 Apr 2009 15:09:23 +0000 (15:09 +0000)]
protect the org trail from the top of the tree WITHOUT breaking everything...

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

15 years agoprotect the org trail from the top of the tree
miker [Wed, 15 Apr 2009 15:08:15 +0000 (15:08 +0000)]
protect the org trail from the top of the tree

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

15 years agomove the duplicate TCN test to /after/ the final attempt at TCN fixup
miker [Wed, 15 Apr 2009 14:15:58 +0000 (14:15 +0000)]
move the duplicate TCN test to /after/ the final attempt at TCN fixup

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

15 years agoEnable field transforms to be named with a schema; is_identifier()
dbs [Wed, 15 Apr 2009 03:20:32 +0000 (03:20 +0000)]
Enable field transforms to be named with a schema; is_identifier()
was being a bit too strict and killing perfectly good calls to
functions like "permission.usr_has_perm"

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

15 years agoyet untested method for calling the in-db merge stored proc to handle merging of...
miker [Wed, 15 Apr 2009 01:47:25 +0000 (01:47 +0000)]
yet untested method for calling the in-db merge stored proc to handle merging of master/sub bib records

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

15 years agohave the merge proc delete the source record after asset merging
miker [Wed, 15 Apr 2009 01:10:02 +0000 (01:10 +0000)]
have the merge proc delete the source record after asset merging

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

15 years agoteaching record merge function how to copy over 856 tags when there is a MARC-mapped...
miker [Wed, 15 Apr 2009 00:47:06 +0000 (00:47 +0000)]
teaching record merge function how to copy over 856 tags when there is a MARC-mapped URI entry

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

15 years agosql function to remove all traces of a PO. This is for testing/development purposes...
erickson [Tue, 14 Apr 2009 16:35:35 +0000 (16:35 +0000)]
sql function to remove all traces of a PO.  This is for testing/development purposes only

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

15 years agoincorrect sequence name
miker [Tue, 14 Apr 2009 16:12:11 +0000 (16:12 +0000)]
incorrect sequence name

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

15 years agoloosened perms for viewing group tree. fixed org_unit datatype on pgpt
erickson [Tue, 14 Apr 2009 16:10:16 +0000 (16:10 +0000)]
loosened perms for viewing group tree.  fixed org_unit datatype on pgpt

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

15 years agoadded status infor for bibs imported and indexed and copies indexed
erickson [Tue, 14 Apr 2009 15:38:03 +0000 (15:38 +0000)]
added status infor for bibs imported and indexed and copies indexed

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

15 years agodo the queued ingest dance like vandelay. create assets after the lineitems are...
erickson [Tue, 14 Apr 2009 15:37:23 +0000 (15:37 +0000)]
do the queued ingest dance like vandelay.  create assets after the lineitems are processed so we can begin/commit the transaction after each record

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

15 years ago1. In searchFieldTransform(): make sure that the function name and subcolumn,
scottmk [Tue, 14 Apr 2009 14:22:17 +0000 (14:22 +0000)]
1. In searchFieldTransform(): make sure that the function name and subcolumn,
when present, look like identifiers; i.e. protect against SQL injection.

2. Check for a NULL return value whenever calling searchFieldTransform().

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

15 years agoallow the grid to render display labels for linked classes that it can retrieve
erickson [Tue, 14 Apr 2009 14:14:11 +0000 (14:14 +0000)]
allow the grid to render display labels for linked classes that it can retrieve

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

15 years agoPatch to fix "insert subfield" shortcut key conflict in Mac client
dbs [Tue, 14 Apr 2009 03:20:19 +0000 (03:20 +0000)]
Patch to fix "insert subfield" shortcut key conflict in Mac client

Thanks to Alexander O'Neill <aoneill@upei.ca> for this patch

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

15 years agoremove stubs
phasefx [Tue, 14 Apr 2009 03:16:51 +0000 (03:16 +0000)]
remove stubs

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

15 years agoFirst stab at copying fields in the MARC editor:
dbs [Tue, 14 Apr 2009 03:10:03 +0000 (03:10 +0000)]
First stab at copying fields in the MARC editor:
  * CTRL-UP pastes a copy of the current field & subfields before the current field
  * CTRL-DOWN pastes a copy of the current field & subfields after the current field

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

15 years agoporting the "top-margin label fix" from 1.2
phasefx [Tue, 14 Apr 2009 02:44:39 +0000 (02:44 +0000)]
porting the "top-margin label fix" from 1.2

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

15 years agoworkstation registration tweaks.. layout, help, and NO_SESSION handling
phasefx [Tue, 14 Apr 2009 02:14:56 +0000 (02:14 +0000)]
workstation registration tweaks.. layout, help, and NO_SESSION handling

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

15 years agosyntax
phasefx [Tue, 14 Apr 2009 01:31:37 +0000 (01:31 +0000)]
syntax

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

15 years agoplugged in per-po asset creation
erickson [Mon, 13 Apr 2009 20:21:16 +0000 (20:21 +0000)]
plugged in per-po asset creation

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

15 years agostarted acq JS localization
erickson [Mon, 13 Apr 2009 20:20:43 +0000 (20:20 +0000)]
started acq JS localization

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

15 years agomoved generic po bib/cn/copy creation api into order.pm. more progress update fixes.
erickson [Mon, 13 Apr 2009 20:19:56 +0000 (20:19 +0000)]
moved generic po bib/cn/copy creation api into order.pm.  more progress update fixes.

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

15 years agoClean up another minor typo (not referenced anywhere, apparently)
dbs [Mon, 13 Apr 2009 15:52:01 +0000 (15:52 +0000)]
Clean up another minor typo (not referenced anywhere, apparently)

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

15 years agoadded post-upload links to load the resulting PO and selection list
erickson [Mon, 13 Apr 2009 14:46:31 +0000 (14:46 +0000)]
added post-upload links to load the resulting PO and selection list

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

15 years agofixed status update variable for picklist / purchase order. store estimated price...
erickson [Mon, 13 Apr 2009 14:46:02 +0000 (14:46 +0000)]
fixed status update variable for picklist / purchase order.  store estimated price as local attr, since the source is the holdings data and not the primary marc data

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

15 years agocontext_org_list is an array, and PostgreSQL 8.3 wants it declared as such
dbs [Mon, 13 Apr 2009 04:17:39 +0000 (04:17 +0000)]
context_org_list is an array, and PostgreSQL 8.3 wants it declared as such

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

15 years agouse the existing price-finding logic
erickson [Fri, 10 Apr 2009 15:18:40 +0000 (15:18 +0000)]
use the existing price-finding logic

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

15 years agoadded support for choosing to create bib/copy/callnumber entries at order record...
erickson [Fri, 10 Apr 2009 15:18:16 +0000 (15:18 +0000)]
added support for choosing to create bib/copy/callnumber entries at order record upload time.  added more status info

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

15 years agoadded support for choosing to create bib/copy/callnumber entries at order record...
erickson [Fri, 10 Apr 2009 15:17:42 +0000 (15:17 +0000)]
added support for choosing to create bib/copy/callnumber entries at order record upload time

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

15 years agoset copy location on li detail on import
erickson [Fri, 10 Apr 2009 15:17:09 +0000 (15:17 +0000)]
set copy location on li detail on import

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

15 years agoplugged in debit creation
erickson [Fri, 10 Apr 2009 14:33:40 +0000 (14:33 +0000)]
plugged in debit creation

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

15 years agousr_attr got destroyed in a previous revision, repairing
erickson [Fri, 10 Apr 2009 14:27:37 +0000 (14:27 +0000)]
usr_attr got destroyed in a previous revision, repairing

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

15 years agofix for nasty little copy/paste regression, trying to support null ilsevent's. This...
phasefx [Thu, 9 Apr 2009 20:20:07 +0000 (20:20 +0000)]
fix for nasty little copy/paste regression, trying to support null ilsevent's.  This was preventing Force this Action dialogs for multiple overridable events

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

15 years agofixed order by clause
erickson [Thu, 9 Apr 2009 18:48:22 +0000 (18:48 +0000)]
fixed order by clause

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

15 years agoAvoid a warning about testing against an undefined value
dbs [Thu, 9 Apr 2009 17:09:55 +0000 (17:09 +0000)]
Avoid a warning about testing against an undefined value

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

15 years agolet's try reposition the Register button so it doesn't scroll offscreen.. could work...
phasefx [Thu, 9 Apr 2009 16:53:07 +0000 (16:53 +0000)]
let's try reposition the Register button so it doesn't scroll offscreen.. could work on scrollbars too

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

15 years agoLots of people are stumbling over the "opensrf" (OpenSRF) vs. "osrf" (EG) username...
dbs [Thu, 9 Apr 2009 16:40:24 +0000 (16:40 +0000)]
Lots of people are stumbling over the "opensrf" (OpenSRF) vs. "osrf" (EG) username, so bring them into sync

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

15 years agogo ahead and sort ancestor list by depth so that tree-ification is not strictly required
erickson [Thu, 9 Apr 2009 15:46:49 +0000 (15:46 +0000)]
go ahead and sort ancestor list by depth so that tree-ification is not strictly required

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

15 years agoA long time ago, miker said we could correct typos in the schema as long as we add...
dbs [Thu, 9 Apr 2009 15:35:26 +0000 (15:35 +0000)]
A long time ago, miker said we could correct typos in the schema as long as we add corresponding upgrade logic
Let's take advantage of his openness before we hit 2.0 :)

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

15 years agolet's go ahead and import the new order.pm even though it's not done
erickson [Thu, 9 Apr 2009 15:18:03 +0000 (15:18 +0000)]
let's go ahead and import the new order.pm even though it's not done

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

15 years agoadded some debugging for now and initial status updates
erickson [Thu, 9 Apr 2009 15:17:19 +0000 (15:17 +0000)]
added some debugging for now and initial status updates

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

15 years agoevents not guaranteed to have a code, treat display as such
erickson [Thu, 9 Apr 2009 15:16:53 +0000 (15:16 +0000)]
events not guaranteed to have a code, treat display as such

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

15 years agooops, result in true
erickson [Thu, 9 Apr 2009 15:16:05 +0000 (15:16 +0000)]
oops, result in true

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

15 years agocontinuing to slog through the import process
erickson [Thu, 9 Apr 2009 15:15:36 +0000 (15:15 +0000)]
continuing to slog through the import process

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

15 years ago1. In osrfAppChildInit(): reduce the scope of the attr variable. Don't call
scottmk [Thu, 9 Apr 2009 14:42:24 +0000 (14:42 +0000)]
1. In osrfAppChildInit(): reduce the scope of the attr variable.  Don't call
dbi_result_get_field_attribs() unless you're going to use the result.

2. In dbi_result_get_field_attribs(): Eliminate the round trip from string to
number and back to string; just use the string that's already available.

If the string is in a JSON_NUMBER, it's guaranteed to be numeric.  If the
string is in a JSON_STRING, it might not be numeric, and if it isn't, then
PostgreSQL will choke on it.  The old code would silently convert it to zero,
or possibly to some other unintended value.

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

15 years agomore import work, more to come
erickson [Wed, 8 Apr 2009 16:07:41 +0000 (16:07 +0000)]
more import work, more to come

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

15 years agoadded permacrud entries for acqphsm and acqlipad
erickson [Wed, 8 Apr 2009 15:09:24 +0000 (15:09 +0000)]
added permacrud entries for acqphsm and acqlipad

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

15 years agoadding note and circ_modifier to acq.lineitem_detail; moving some IDL definitions...
miker [Wed, 8 Apr 2009 15:00:42 +0000 (15:00 +0000)]
adding note and circ_modifier to acq.lineitem_detail; moving some IDL definitions out of the "example" area

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

15 years agoadded entries for acq::provider_holding_subfield_map, updated acq::lineitem_provider_...
erickson [Wed, 8 Apr 2009 14:50:12 +0000 (14:50 +0000)]
added entries for acq::provider_holding_subfield_map, updated acq::lineitem_provider_attr_definition entries

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

15 years agoFix open-ils.ingest.full.biblio.record_list by passing a reference to the list, rathe...
dbs [Wed, 8 Apr 2009 04:08:08 +0000 (04:08 +0000)]
Fix open-ils.ingest.full.biblio.record_list by passing a reference to the list, rather than a scalar
Fix the return value of open-ils.ingest.full.biblio.record_list by returning a true count, rather than a sum of the processed IDs

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

15 years agomoved marc upload into Order.pm
erickson [Tue, 7 Apr 2009 21:07:34 +0000 (21:07 +0000)]
moved marc upload into Order.pm

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

15 years agoporting some more functionality over to the common area
erickson [Tue, 7 Apr 2009 18:31:08 +0000 (18:31 +0000)]
porting some more functionality over to the common area

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

15 years agotrying to bring some coherence to the basic components of an order/picklist. separat...
erickson [Tue, 7 Apr 2009 16:48:13 +0000 (16:48 +0000)]
trying to bring some coherence to the basic components of an order/picklist.  separating across modules complicates the process.  more to follow

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

15 years agoReverting the unique index on bre.id; it's a primary key and already has one by defin...
dbs [Tue, 7 Apr 2009 14:07:07 +0000 (14:07 +0000)]
Reverting the unique index on bre.id; it's a primary key and already has one by definition
Creating the index probably improved the speed of ingest as a side effect;
a reindex would probably have the same effect without additional index overhead.
More investigation required.

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

15 years agoAdd a unique index on biblio.record_entry.id
dbs [Tue, 7 Apr 2009 13:44:40 +0000 (13:44 +0000)]
Add a unique index on biblio.record_entry.id
On a large system (2M records), this reduced ingest time from 45-60 seconds / record to 5 seconds / record

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

15 years agoIn oils_cstore.c:
scottmk [Tue, 7 Apr 2009 13:12:36 +0000 (13:12 +0000)]
In oils_cstore.c:

1. Check the return code from all calls to SELECT().

2. In searchValueTransform(): insist that the function name be in a
JSON_STRING.

3. In searchFieldTransformPredicate(): screen the operator string for
SQL injection.

4. In searchFieldTransformPredicate(): insert another layer of
parentheses to avoid ambiguity.

5. Eliminated extraneous parameters on some calls to osrfLogError().

6. In searchFieldTransformPredicate(): disallow comparisons to
nulls and booleans.

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

15 years agoUse the new JSON parser
scottmk [Tue, 7 Apr 2009 06:33:03 +0000 (06:33 +0000)]
Use the new JSON parser

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

15 years agoteach acq to extract holding-related data from a named tag and configured subfields
miker [Tue, 7 Apr 2009 05:24:26 +0000 (05:24 +0000)]
teach acq to extract holding-related data from a named tag and configured subfields

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

15 years agoStart getting ready to handle more complex publication patterns.
djfiander [Tue, 7 Apr 2009 01:47:33 +0000 (01:47 +0000)]
Start getting ready to handle more complex publication patterns.

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

15 years agoa bit more refactoring of Caption & Holding
djfiander [Tue, 7 Apr 2009 00:53:52 +0000 (00:53 +0000)]
a bit more refactoring of Caption & Holding

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

15 years agosave some space in the selector colum
erickson [Mon, 6 Apr 2009 21:21:14 +0000 (21:21 +0000)]
save some space in the selector colum

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

15 years agofor now, update the price when it's changed. will probably make this more interactiv...
erickson [Mon, 6 Apr 2009 20:34:59 +0000 (20:34 +0000)]
for now, update the price when it's changed.  will probably make this more interactive in the future

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

15 years agoset provider on lineitem at import
erickson [Mon, 6 Apr 2009 20:31:34 +0000 (20:31 +0000)]
set provider on lineitem at import

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