[open-ils-commits] r9690 - in branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb: public/oils/media/ui_js/oils/default/common templates/oils/default/common

svn at svn.open-ils.org svn at svn.open-ils.org
Thu May 22 23:56:13 EDT 2008


Author: erickson
Date: 2008-05-22 23:56:11 -0400 (Thu, 22 May 2008)
New Revision: 9690

Modified:
   branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/common/jubgrid.js
   branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html
Log:
added author to display

Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/common/jubgrid.js
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/common/jubgrid.js	2008-05-23 03:55:20 UTC (rev 9689)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/common/jubgrid.js	2008-05-23 03:56:11 UTC (rev 9690)
@@ -29,6 +29,9 @@
     getJUBTitle : function(rowIndex) {
         return JUBGrid._getMARCAttr(rowIndex, 'title');
     },
+    getJUBAuthor : function(rowIndex) {
+        return JUBGrid._getMARCAttr(rowIndex, 'author');
+    },
     getJUBIsbn : function(rowIndex) {
         return JUBGrid._getMARCAttr(rowIndex, 'isbn');
     },

Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html	2008-05-23 03:55:20 UTC (rev 9689)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/common/jubgrid.html	2008-05-23 03:56:11 UTC (rev 9690)
@@ -47,6 +47,7 @@
         cells: [[
             {name: "ID", field: 'id'},
             {name: "Title", width: "auto", get:JUBGrid.getJUBTitle},
+            {name: "Author", get:JUBGrid.getJUBAuthor},
             {name: "ISBN", get:JUBGrid.getJUBIsbn},
             {name: '${_("Pubdate")}', get:JUBGrid.getJUBPubdate},
             {name: "Price", get:JUBGrid.getJUBPrice},



More information about the open-ils-commits mailing list