android-app
android-app copied to clipboard
Sort order doesn't match the 'recently added' sorting of the web interface.
Issue details
The sort order on the website version doesn't match the sort order on the Android device.
(I also recently imported hundreds of articles from an Omnivore download. Those articles are where they 'should be,' in terms of the order they were in while using Omnivore, while browsing the web version. )
What I realized is that the sort order on the device is based on when they were added to Wallabag, via the import feature, and not using the order that was inherited from Omnivore, at least in quite the same way.
(More specifically, two articles that were in my unread pile before I imported everything are now at the END of the unread list on the app, whereas on the website they're still near the front.)
I discovered this when I opened the app after importing from Omnivore. At first I thought it wasn't syncing my most recent additions, but then realized that they were in among the articles I'd added via the import.
Duplicate?
Have you searched the issues of this repository if your issue is already known? yes/no
Maybe? Error #713 seems connected, but it's an older bug, so I don't know if I'm encountering something new or not.
It might be something to do with the Omnivore import, adding an id as soon as it's added to the database, and the Android app using that for the sort instead of the 'created_at' of the article. (This assumption is based on the notes in that error.)
Actual behaviour
- Tell us what happens
Android sort order doesn't match the web app sort order. Web app sort order appears to use Omnivore's 'saved date.' Android app appears to show articles in the order they were added to the database.
Expected behaviour
- Tell us what should happen
Web app and android app should share the same sort order, based on the saved date of the article.
Steps to reproduce the issue
- import numerous Omnivore JSON files
- add multiple articles at the same time
- note the order of the articles on android versus web app.
Environment details
- wallabag app version:
2.5.3 (233)
- wallabag app installation source (e.g. Gplay, F-Droid, manual):
Gplay
- Android OS version:
14
- Android ROM (e.g. stock, LineageOS, SlimRom,…):
Stock
- Android hardware:
Pixel 7a
- wallabag server version:
Unsure. app.wallabag.it?
- Do you have Two-Factor-Authentication enabled?: yes/no
no
Logs
wallabag server
Please paste relevant wallabag server logs here (from file <wallabag>/var/logs/prod.log):
Web server
Please paste relevant web server logs (e.g. from nginx, Apache, …) here:
NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here!
Your experience with wallabag Android app
Have you had any luck using wallabag Android app before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
So far, I'm loving it! Just signed up for a year's subscription. I think the tap-to-advance is very handy, and I appreciate the value of being able to self-host if desired!
Is this a duplicate of #713? Maybe also related to the PR #1161 then
A new ID is always assigned after the import. So far so understandable. Unfortunately, the app does not sort by creation date but by ID. This confuses everything. The web application and app can no longer be displayed synchronously. The display (sorting) in the app should be corrected. Just like in the web version according to the creation date. I hope for an update. 😀
Just migrated from Pocket, importing all my saved articles. All working great except that the sort order in the Android app is now totally useless. Please please make it sort by timestamp!