From 2df957c61e55af140a3f36407b3540c4a5217070 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 20 Jun 2008 20:33:58 +0000 Subject: [PATCH] Merged revisions 9895-9898,9901 via svnmerge from svn://svn.open-ils.org/ILS/trunk ........ r9895 | miker | 2008-06-20 14:00:58 -0400 (Fri, 20 Jun 2008) | 1 line use the new opac_visible flag for CN table ........ r9896 | miker | 2008-06-20 14:08:24 -0400 (Fri, 20 Jun 2008) | 1 line typo in previous opac_visible commit ........ r9897 | miker | 2008-06-20 14:59:48 -0400 (Fri, 20 Jun 2008) | 1 line adding some indexes that are needed for large installations -- beware the speed impact for initial batch loading! ........ r9898 | miker | 2008-06-20 15:29:46 -0400 (Fri, 20 Jun 2008) | 1 line removing the (value) index, as large records will make Pg unhappy -- fields too large to directly index with the default Pg blocksize ........ r9901 | erickson | 2008-06-20 16:33:36 -0400 (Fri, 20 Jun 2008) | 1 line store the ses cookie globally ........ git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@9902 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/sql/Pg/030.schema.metabib.sql | 2 ++ Open-ILS/web/js/dojo/openils/User.js | 2 +- Open-ILS/web/opac/skin/default/js/rdetail.js | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/sql/Pg/030.schema.metabib.sql b/Open-ILS/src/sql/Pg/030.schema.metabib.sql index 27f2586618..342baff2d4 100644 --- a/Open-ILS/src/sql/Pg/030.schema.metabib.sql +++ b/Open-ILS/src/sql/Pg/030.schema.metabib.sql @@ -145,6 +145,8 @@ CREATE TABLE metabib.full_rec ( value TEXT NOT NULL, index_vector tsvector NOT NULL ); +CREATE INDEX metabib_full_rec_tag_subfield_idx ON metabib.full_rec (tag,subfield); +--CREATE INDEX metabib_full_rec_value_idx ON metabib.full_rec (value); CREATE INDEX metabib_full_rec_record_idx ON metabib.full_rec (record); CREATE TRIGGER metabib_full_rec_fti_trigger BEFORE UPDATE OR INSERT ON metabib.full_rec diff --git a/Open-ILS/web/js/dojo/openils/User.js b/Open-ILS/web/js/dojo/openils/User.js index cb04539556..980a03fb74 100644 --- a/Open-ILS/web/js/dojo/openils/User.js +++ b/Open-ILS/web/js/dojo/openils/User.js @@ -119,7 +119,7 @@ if(!dojo._hasResource["openils.User"]) { _u.getBySession(onComplete); if(_u.authcookie) { dojo.require('dojo.cookie'); - dojo.cookie(_u.authcookie, _u.authtoken); + dojo.cookie(_u.authcookie, _u.authtoken, {path:'/'}); } } authReq.send(); diff --git a/Open-ILS/web/opac/skin/default/js/rdetail.js b/Open-ILS/web/opac/skin/default/js/rdetail.js index 46c405238e..063e40e976 100644 --- a/Open-ILS/web/opac/skin/default/js/rdetail.js +++ b/Open-ILS/web/opac/skin/default/js/rdetail.js @@ -707,7 +707,7 @@ function rdetailApplyStatuses( row, template, statuses ) { var _statusPositions = {}; //Add one td (creating a new column) to the copy summary -//table for each holdable copy status +//table for each opac_visible copy status function rdetailBuildStatusColumns() { @@ -719,7 +719,7 @@ function rdetailBuildStatusColumns() { for( i = 0; i < cp_statuses.length; i++ ) { var c = cp_statuses[i]; - if( c && isTrue(c.holdable()) ) { + if( c && isTrue(c.opac_visible()) ) { var name = c.name(); _statusPositions[i] = c; var node = template.cloneNode(true); -- 2.11.0