Skip to content

Commit

Permalink
support nested search
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzofox3 committed Jun 12, 2015
1 parent 7f8911a commit 45da53c
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-smart-table",
"version": "2.0.3",
"version": "2.1.0",
"homepage": "https://github.com/lorenzofox3/Smart-Table",
"authors": [
"lorenzofox3 <[email protected]>"
Expand Down
9 changes: 8 additions & 1 deletion changeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,11 @@ function(tableState, tableController){
## version 2.0.3

* implements #379
* fix #390
* fix #390

## version 2.1.0

* support nested search (thanks to @jansabbe)
* fix #254
* fix wrong path to default config for stSkipNatural (@phuvo)
* fix #406
12 changes: 7 additions & 5 deletions dist/smart-table.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/smart-table.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-smart-table",
"version": "2.0.3",
"version": "2.1.0",
"description": "",
"main": "dist/smart-table.js",
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions test/spec/stSearch.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ describe('stSearch Directive', function () {
scope.$apply();
}));


it('should support binding on search predicate', inject(function ($compile, $timeout) {
scope.searchPredicate = 'name';
var ths = element.find('th');
Expand Down Expand Up @@ -288,7 +287,7 @@ describe('stSearch Directive', function () {
input[0].value = 're';
input.triggerHandler('input');
$timeout.flush();
trs = element.find('tr.test-filtered');
var trs = element.find('tr.test-filtered');
expect(trs.length).toBe(4);
expect(trToModel(trs)).toEqual([
{name: 'Renard', firstname: 'Laurent', age: 66},
Expand Down

0 comments on commit 45da53c

Please sign in to comment.