diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-07-29 09:02:30 +0200 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-07-29 09:02:30 +0200 |
commit | 7e63b892f9682e62f6758bb51c6912499f5bd8d1 (patch) | |
tree | b0b1da23086cba171d134946092f43cd31cd1e62 /src/Wallabag/ApiBundle | |
parent | 9b9b05008a96a45bbf6da4c0c1c1b1244b83c6af (diff) | |
parent | 9fb6ac830fa669beef1dd11070421262c073192c (diff) | |
download | wallabag-7e63b892f9682e62f6758bb51c6912499f5bd8d1.tar.gz wallabag-7e63b892f9682e62f6758bb51c6912499f5bd8d1.tar.zst wallabag-7e63b892f9682e62f6758bb51c6912499f5bd8d1.zip |
Merge pull request #1250 from frankoa/v2_pagination_and_api
Adds pagerfanta paginator everywhere, modifies article routing.
Diffstat (limited to 'src/Wallabag/ApiBundle')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/WallabagRestController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php index 2f5923c8..692a4ae0 100644 --- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php | |||
@@ -189,8 +189,8 @@ class WallabagRestController extends Controller | |||
189 | $this->validateUserAccess($entry->getUser()->getId(), $this->getUser()->getId()); | 189 | $this->validateUserAccess($entry->getUser()->getId(), $this->getUser()->getId()); |
190 | 190 | ||
191 | $title = $request->request->get('title'); | 191 | $title = $request->request->get('title'); |
192 | $isArchived = $request->request->get('archive'); | 192 | $isArchived = $request->request->get('is_archived'); |
193 | $isStarred = $request->request->get('star'); | 193 | $isStarred = $request->request->get('is_starred'); |
194 | 194 | ||
195 | if (!is_null($title)) { | 195 | if (!is_null($title)) { |
196 | $entry->setTitle($title); | 196 | $entry->setTitle($title); |