diff options
author | Francois Gravelaine <francois@obtao.com> | 2015-07-27 23:20:32 +0200 |
---|---|---|
committer | Francois Gravelaine <francois@obtao.com> | 2015-07-28 23:23:49 +0200 |
commit | 9fb6ac830fa669beef1dd11070421262c073192c (patch) | |
tree | b0b1da23086cba171d134946092f43cd31cd1e62 /src/Wallabag/ApiBundle | |
parent | 9b9b05008a96a45bbf6da4c0c1c1b1244b83c6af (diff) | |
download | wallabag-9fb6ac830fa669beef1dd11070421262c073192c.tar.gz wallabag-9fb6ac830fa669beef1dd11070421262c073192c.tar.zst wallabag-9fb6ac830fa669beef1dd11070421262c073192c.zip |
Adds pagerfanta paginator everywhere, modifies article routing. Change API for is_starred and is_archived
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); |