diff options
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | db/feed.php | 1 | ||||
-rw-r--r-- | tests/unit/db/FeedTest.php | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index f3cefd296..a45b03be5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +owncloud-news (5.0.2) +* **Enhancement**: Expose feed ordering parameter in API + owncloud-news (5.0.1) * **Enhancement**: Show error messages when authentication or network related errors appear * **Enhancement**: Show a pull to refresh area if you are at the very top and jump to the previous article using either page up or a jump to previous article shortcut. If this area is already visible reload the page diff --git a/db/feed.php b/db/feed.php index 395035c97..49fba7538 100644 --- a/db/feed.php +++ b/db/feed.php @@ -126,6 +126,7 @@ class Feed extends Entity implements IAPI, \JsonSerializable { 'added', 'folderId', 'unreadCount', + 'ordering', 'link' ]); } diff --git a/tests/unit/db/FeedTest.php b/tests/unit/db/FeedTest.php index fd90f2925..6a012c1b9 100644 --- a/tests/unit/db/FeedTest.php +++ b/tests/unit/db/FeedTest.php @@ -45,6 +45,7 @@ class FeedTest extends \PHPUnit_Framework_TestCase { 'added' => 123, 'folderId' => 1, 'unreadCount' => 321, + 'ordering' => 2, 'link' => 'https://www.google.com/some/weird/path' ], $feed->toAPI()); } |