mark search results read

Request new functionality here
pcause
Bear Rating Master
Bear Rating Master
Posts: 144
Joined: 23 Aug 2013, 19:52

mark search results read

Postby pcause » 30 Mar 2017, 23:15

I did a search for a phrase and got a list of results. I then did a "mark read" and instead of marking just the search results read (what I expected) it marked all the articles in the category read. Tried a few other ways but couldn't get just the search results marked read. Eventually figured out I could select all in search results and then using the select box mark read item do this. It would be nice if just the mark read button would mark the search results read in a single step for us lazy folks.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: mark search results read

Postby fox » 31 Mar 2017, 07:57

i guess this makes sense, implementing this might be a bitch tho

e: i'll maybe take a look later today but no promises :v

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: mark search results read

Postby fox » 31 Mar 2017, 11:22

kinda experimental i guess

https://tt-rss.org/gitlab/fox/tt-rss/co ... 2200844013

some edge cases might be broken, i would appreciate testing for this

pcause
Bear Rating Master
Bear Rating Master
Posts: 144
Joined: 23 Aug 2013, 19:52

Re: mark search results read

Postby pcause » 31 Mar 2017, 15:24

thanks, fox. gave a quick test and seemed to work!! will test more over the weekend.

User avatar
Skibbi
Bear Rating Disaster
Bear Rating Disaster
Posts: 61
Joined: 15 Mar 2013, 14:59
Location: Poland

Re: mark search results read

Postby Skibbi » 02 Apr 2017, 14:17

It seems to be broken for me. I wanted to mark as read all articles from a label but I got error:

Code: Select all

TypeError: last_search_query is undefined

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: mark search results read

Postby fox » 02 Apr 2017, 14:26

it's a global variable so this looks like a caching issue

User avatar
Skibbi
Bear Rating Disaster
Bear Rating Disaster
Posts: 61
Joined: 15 Mar 2013, 14:59
Location: Poland

Re: mark search results read

Postby Skibbi » 02 Apr 2017, 17:07

Yeah, you're right - I forgot to restart php-fpm after update. So far no errors on my instance.

pcause
Bear Rating Master
Bear Rating Master
Posts: 144
Joined: 23 Aug 2013, 19:52

Re: mark search results read

Postby pcause » 03 Apr 2017, 20:54

Did more testing this weekend. used it on the Labels and individual labels and categories and My Feeds. Seemed to work fine. Didn't try on fresh or starred or published..


Return to “Feature requests”

Who is online

Users browsing this forum: Google [Bot] and 2 guests