зеркало из https://github.com/nextcloud/news.git
expose feed ordering in api, #711
This commit is contained in:
Родитель
a61a5f2107
Коммит
4b0ec60043
|
@ -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
|
||||
|
|
|
@ -126,6 +126,7 @@ class Feed extends Entity implements IAPI, \JsonSerializable {
|
|||
'added',
|
||||
'folderId',
|
||||
'unreadCount',
|
||||
'ordering',
|
||||
'link'
|
||||
]);
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче