Serial Note Sort Fix user/dbwells/serial_note_order
authorDan Wells <dbw2@calvin.edu>
Tue, 12 Jun 2012 13:03:31 +0000 (09:03 -0400)
committerDan Wells <dbw2@calvin.edu>
Tue, 12 Jun 2012 13:09:31 +0000 (09:09 -0400)
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 <dbw2@calvin.edu>
Open-ILS/xul/staff_client/server/serial/notes.xul

index 3866802..4068883 100644 (file)
@@ -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) {