Added possiblilty to disable sorting via passing 'null' ass sortBy parameter value.
This commit is contained in:
parent
69ebe8e348
commit
4303b4112d
1 changed files with 2 additions and 1 deletions
|
@ -564,7 +564,8 @@ class App.Model extends Spine.Model
|
|||
all_complied = @_filterExtended( all_complied, params.filterExtended )
|
||||
|
||||
# sort by
|
||||
all_complied = @_sortBy( all_complied, params.sortBy )
|
||||
if params.sortBy != null
|
||||
all_complied = @_sortBy( all_complied, params.sortBy )
|
||||
|
||||
# order
|
||||
if params.order
|
||||
|
|
Loading…
Reference in a new issue