From: Dan Wells Date: Tue, 12 Jun 2012 13:03:31 +0000 (-0400) Subject: Serial Note Sort Fix X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fdbwells%2Fserial_note_order;p=working%2FEvergreen.git Serial Note Sort Fix Serial notes are currently sorting backwards from what is intended (and what is expected based on other interfaces). This was caused by adding a sort to the middle-layer code which resulted in an unwanted double reverse. Signed-off-by: Dan Wells --- diff --git a/Open-ILS/xul/staff_client/server/serial/notes.xul b/Open-ILS/xul/staff_client/server/serial/notes.xul index 386680258b..4068883c5d 100644 --- a/Open-ILS/xul/staff_client/server/serial/notes.xul +++ b/Open-ILS/xul/staff_client/server/serial/notes.xul @@ -77,7 +77,7 @@ } function retrieve_notes() { - g.notes = g.network.simple_request('FM_'+g.function_type+'_RETRIEVE_ALL',[ { 'authtoken' : ses(), 'object_id' : g.object_id } ]).reverse(); + g.notes = g.network.simple_request('FM_'+g.function_type+'_RETRIEVE_ALL',[ { 'authtoken' : ses(), 'object_id' : g.object_id } ]); } function apply(node,field,value) {