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 <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
}
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) {