Skip to content

Commit

Permalink
Merge pull request #694 from marmelab/hotfox_optimized_queries
Browse files Browse the repository at this point in the history
[RFR] Fix optimized queries
  • Loading branch information
fzaninotto committed Sep 17, 2015
2 parents 417a993 + 2137fd2 commit 2436aa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions examples/blog/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
.targetEntity(tag) // the tag entity is defined later in this file
.targetField(nga.field('name')) // the field to be displayed in this list
.cssClasses('hidden-xs')
.singleApiCall(ids => { return {'id': ids }})
])
.filters([
nga.field('category', 'choice').choices([
Expand Down Expand Up @@ -188,6 +189,7 @@
.targetEntity(post)
.targetField(nga.field('title').map(truncate))
.cssClasses('hidden-xs')
.singleApiCall(ids => { return {'id': ids }})
])
.filters([
nga.field('q', 'template')
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "git://github.com/marmelab/ng-admin.git"
},
"devDependencies": {
"admin-config": "^0.3.0",
"admin-config": "^0.3.1",
"angular": "~1.3.15",
"angular-bootstrap": "^0.12.0",
"angular-mocks": "1.3.14",
Expand All @@ -29,7 +29,7 @@
"es6-promise": "^2.3.0",
"exports-loader": "^0.6.2",
"extract-text-webpack-plugin": "^0.8.0",
"fakerest": "^1.0.5",
"fakerest": "^1.0.10",
"file-loader": "^0.8.1",
"font-awesome": "^4.3.0",
"grunt": "~0.4.4",
Expand Down

0 comments on commit 2436aa2

Please sign in to comment.