v0.8.0
Bug Fixes
- ngTableController: don't trigger reload whilst a reload is already in-flight
(97d09ca4)
Features
- ngTableFilterConfig: allow template urls for filters to be customized
(032f6ff6)
Breaking Changes
- header.html: due to 47460d67,
The sortBy function previously declared by ngTableController
has been moved to the new controller - ngTableSorterRowController
.
- ngTableController: due to 97d09ca4,
Calls to NgTableParams.filter
, NgTableParams.sorting
(etc) made in the then
method of
the promise returned by NgTableParams.reload
will NOT trigger a subsequent call to NgTableParams.reload
;
the call to NgTableParams.reload
must now be explicitly be made.
Previously:
tableParams.reload().then(function(){
if (!tableParams.total() && _.size(tableParams.filter()) > 0) {
tableParams.filter({});
}
});
Now:
tableParams.reload().then(function(){
if (!tableParams.total() && _.size(tableParams.filter()) > 0) {
tableParams.filter({});
return tableParams.reload();
}
});