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,6 +564,7 @@ class App.Model extends Spine.Model
|
||||||
all_complied = @_filterExtended( all_complied, params.filterExtended )
|
all_complied = @_filterExtended( all_complied, params.filterExtended )
|
||||||
|
|
||||||
# sort by
|
# sort by
|
||||||
|
if params.sortBy != null
|
||||||
all_complied = @_sortBy( all_complied, params.sortBy )
|
all_complied = @_sortBy( all_complied, params.sortBy )
|
||||||
|
|
||||||
# order
|
# order
|
||||||
|
|
Loading…
Reference in a new issue