yesno( copy.opac_visible() ) , copy.circ_as_type() , copy.circ_modifier() ,
copy.loan_duration() , copy.fine_level() , copy.create_date() ,
copy.creator() , copy.edit_date() , copy.editor() , copy.deposit() ,
- copy.deposit_amount() , copy.price() , copy.status()
+ copy.deposit_amount() , copy.price() , mw.G.ccs_hash[ copy.status() ].name()
];
for (var i = 0; i < list.length; i++ ) {
<splitter class="tree-splitter"/>
<treecol id="browse11" label="&browse_list.price;" flex="1" hidden="true"/>
<splitter class="tree-splitter"/>
- <treecol id="browse12" label="&browse_list.status;" flex="1" hidden="true"/>
+ <treecol id="browse12" label="&browse_list.status;" flex="1" hidden="false"/>
<splitter class="tree-splitter"/>
</treecols>
<treechildren id="browse_list_tree_children" context="browse_menu"/>
mw.sdump('D_CAT','TESTING: copy_edit.js: ' + mw.G['main_test_variable'] + '\n');
mw.sdump('D_CAT','Gathering copies to put in the acn object...\n');
var id_mapped_list = [];
+ var filtered_list = [];
if (params.tree) {
var list = get_list_from_tree_selection( params.tree );
mw.sdump('D_CAT','list.length = ' + list.length + '\n');
- var filtered_list = filter_list(
- list,
- function (obj) {
- return (obj.getAttribute('object_type') == 'copy');
- }
+ filtered_list = filtered_list.concat(
+ filter_list(
+ list,
+ function (obj) {
+ return (obj.getAttribute('object_type') == 'copy');
+ }
+ )
);
mw.sdump('D_CAT','filtered_list.length = ' + filtered_list.length + '\n');
- id_mapped_list.concat(
+ id_mapped_list = id_mapped_list.concat(
map_list(
filtered_list,
function (obj) {