Reapplication of:
Address LP#779975; Status of Available (0) not honored because 0==false -- use ternary op with defined() instead
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@20454
dcc99617-32d9-48b4-a31d-
7c20da2025e4
(cherry picked from commit
2d96fea0800a99092acdc97330b33b3d421f3098)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
sub ils_version {
# version format is "x-y-z-p", for example "1-2-1-0" for Evergreen 1.2.1.0
- return "1-6";
+ return "1-6-2-4";
}
__PACKAGE__->register_method(
actor.org_unit r;
SQL
- $self->method_lookup('open-ils.storage.transaction.begin')->run;
actor::org_unit_proximity->db_Main->do($delete_sql);
actor::org_unit_proximity->db_Main->do($insert_sql);
- $self->method_lookup('open-ils.storage.transaction.commit')->run;
return 1;
}
$copy->barcode($item->barcode);
$copy->location($item->location);
$copy->circ_lib($item->circ_lib || $item->owning_lib);
- $copy->status($item->status || OILS_COPY_STATUS_IN_PROCESS);
+ $copy->status( defined($item->status) ? $item->status : OILS_COPY_STATUS_IN_PROCESS );
$copy->circulate($item->circulate);
$copy->deposit($item->deposit);
$copy->deposit_amount($item->deposit_amount);
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
+INSERT INTO config.upgrade_log (version) VALUES ('1.6.2.4');
INSERT INTO config.upgrade_log (version) VALUES ('0485'); -- dbs
CREATE TABLE config.bib_source (
-README for Evergreen 1.6
+README for Evergreen 1.6.2.4
Installing prerequisites:
========================
Once you have configured and compiled Evergreen, issue the following
command as the root user to install Evergreen:
-make STAFF_CLIENT_BUILD_ID=rel_1_6_0_0 install
+make STAFF_CLIENT_BUILD_ID=rel_1_6_2_4 install
This will install Evergreen, including example configuration files in
/openils/conf/ that you can use as templates for your own configuration files.