if(idstruct[x-o] == null) break;
records[x] = parseInt(idstruct[x - o][0]);
ranks[x] = parseFloat(idstruct[x - o][1]);
- onlyrecord[x] = parseInt(idstruct[x - o][4]);
+ onlyrecord[x] = parseInt(idstruct[x - o][2]);
}
idsCookie.put(COOKIE_IDS, js2JSON({ recs: records, ranks : ranks }) );
idsCookie.write();
recordsHandled++;
recordsCache.push(rec);
- /* hide the 'now loading...' message */
- hideMe(G.ui.common.loading);
var r = table.rows[pos + 1];
buildSearchLink(STYPE_AUTHOR, rec.author(), author_link);
+ if(! is_mr ) {
+
+ if(!isNull(rec.edition())) {
+ unHideMe( findNodeByName(r, "result_table_extra_span"));
+ findNodeByName(r, "result_table_edition_span").appendChild( text( rec.edition()) );
+ }
+ if(!isNull(rec.pubdate())) {
+ unHideMe( findNodeByName(r, "result_table_extra_span"));
+ unHideMe(findNodeByName(r, "result_table_pub_span"));
+ findNodeByName(r, "result_table_pub_span").appendChild( text( rec.pubdate() ));
+ }
+ if(!isNull(rec.publisher()) ) {
+ unHideMe( findNodeByName(r, "result_table_extra_span"));
+ unHideMe(findNodeByName(r, "result_table_pub_span"));
+ findNodeByName(r, "result_table_pub_span").appendChild( text( " " + rec.publisher() ));
+ }
+ }
+
resultBuildFormatIcons( r, rec );
unHideMe(r);
runEvt("result", "recordDrawn", rec.doc_id(), title_link);
- if(resultPageIsDone())
+ if(resultPageIsDone()) {
+ /* hide the 'now loading...' message */
+ hideMe(G.ui.common.loading);
runEvt('result', 'allRecordsReceived', recordsCache);
+ }
}
function resultBuildFormatIcons( row, rec ) {
<a title="Perform an Author Search" name='item_author' class='search_link'>
<!-- Author goes here -->
</a>
+ <span name='result_table_extra_span' class='hide_me'>
+ <span name='result_table_edition_span' style='padding-left: 10px;'> -- </span>
+ <span name='result_table_pub_box' style='padding-left: 10px;'>
+ <span> [ </span>
+ <span name='result_table_pub_span'> </span>
+ <span> ] </span>
+ </span>
+ </span>
</td>
</tr>