]> git.evergreen-ils.org Git - Evergreen.git/commit
Item Status->Alternate View support for the dynamic Record Summary
authorJason Etheridge <jason@esilibrary.com>
Wed, 6 Jul 2011 18:52:53 +0000 (14:52 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 18 Jul 2011 15:26:58 +0000 (11:26 -0400)
commit62934868d7a42d450539166c70d97d07229c7122
tree87e9a26535a8add10a69e8fa2a0351158219c16d
parent5f2dd33849dc68dfb2b692b0f17b9da028a8aa81
Item Status->Alternate View support for the dynamic Record Summary

For now, you could put something like this in server/skin/custom.js to re-configure the display:

try {

    netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
    var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces['nsIPrefBranch']);
    prefs.setCharPref(
        'oils.bib_brief.alternate_copy_summary.dynamic_grid_replacement.data',
        js2JSON([
            ['title',       'edition',  'editor'],
            ['author',      'pubdate',  'edit_date'],
            ['call_number', 'tcn',      'create_date']
        ])
    );

} catch(E) {
    dump('Error in custom.js trying to set oils.bib_brief.alternate_copy_summary.dynamic_grid_replacement.data: ' + E + '\n');
}

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/xul/staff_client/server/cat/bib_brief.js
Open-ILS/xul/staff_client/server/cat/bib_brief.xul
Open-ILS/xul/staff_client/server/cat/bib_brief_vertical.xul
Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js
Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul
Open-ILS/xul/staff_client/server/locale/en-US/cat.properties