news icon indicating copy to clipboard operation
news copied to clipboard

Default highlighted article is at the bottom of the list

Open killernurd opened this issue 2 years ago • 0 comments

IMPORTANT

Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)

  • [x] I have read the CONTRIBUTING.md and followed the provided tips
  • [x] I accept that the issue will be closed without comment if I do not check here
  • [x] I accept that the issue will be closed without comment if I do not fill out all items in the issue template.

Explain the Problem

When a feed is selected from the list, the default highlighted article is always the newest article, regardless of whether the ordering is set to newest on top or oldest on top. This results in the article all the way at the bottom of the list being highlighted when the list is ordered oldest on top.

Steps to Reproduce

  1. Load News app
  2. Use Reverse ordering (oldest on top)
  3. Select 'Unread articles' (or any other feed)
  4. Newest article is highlighted, all the way at the bottom of the list (which is wrong for reverse ordering)

System Information

  • News app version: 18.1.0
  • Nextcloud version: 23.0.5
  • Cron type: system cron
  • PHP version: 7.4.3
  • Database and version: PostgreSQL 9.4.0
  • Browser and version: Firefox 101.0.1
  • OS and version: Ubuntu Linux 20.04
Contents of Browser Error Console Read http://ggnome.com/wiki/Using_The_Browser_Error_Console if you are unsure what to put here
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 3 [globals.js:62:15](webpack:///core/src/globals.js)

killernurd avatar Jun 26 '22 00:06 killernurd