From: Dan Wells Date: Tue, 12 Jun 2012 13:03:31 +0000 (-0400) Subject: Serial Note Sort Fix X-Git-Tag: sprint4-merge-nov22~4147 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ace51daec9cb7065b67bea336ef09debc0a034e4;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. [whitespace adjustment by LFW per request of DBS] Signed-off-by: Dan Wells Signed-off-by: Lebbeous Fogle-Weekley --- diff --git a/Open-ILS/xul/staff_client/server/serial/notes.xul b/Open-ILS/xul/staff_client/server/serial/notes.xul index 386680258b..207b448aa9 100644 --- a/Open-ILS/xul/staff_client/server/serial/notes.xul +++ b/Open-ILS/xul/staff_client/server/serial/notes.xul @@ -77,7 +77,11 @@ } 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) {