Merged revisions 9895-9898,9901 via svnmerge from
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Jun 2008 20:33:58 +0000 (20:33 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Jun 2008 20:33:58 +0000 (20:33 +0000)
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
Open-ILS/web/js/dojo/openils/User.js
Open-ILS/web/opac/skin/default/js/rdetail.js

index 27f2586..342baff 100644 (file)
@@ -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
index cb04539..980a03f 100644 (file)
@@ -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();
index 46c4052..063e40e 100644 (file)
@@ -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);