Update user query feature (#3338)

* Change user query wording

There was some misunderstanding in the use of the user query feature,
probably because of the wording. I've change it to make it more obvious.

* Fix feedback when a query is bookmarked

Before, the displayed query name was not the one intended. Now, the name is the one of the current bookmark

* Document user queries

I've added a few words on how to use the user queries because it seems there was some misunderstanding. See #3219
This commit is contained in:
Alexis Degrugillier
2021-01-07 15:47:39 -05:00
committed by GitHub
parent ef458992c1
commit 85cbfcedb5
24 changed files with 62 additions and 28 deletions

View File

@@ -312,7 +312,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
* storage. Before it is saved, the unwanted parameters are unset to keep
* lean data.
*/
public function addQueryAction() {
public function bookmarkQueryAction() {
$category_dao = FreshRSS_Factory::createCategoryDao();
$feed_dao = FreshRSS_Factory::createFeedDao();
$tag_dao = FreshRSS_Factory::createTagDao();
@@ -329,7 +329,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
FreshRSS_Context::$user_conf->queries = $queries;
FreshRSS_Context::$user_conf->save();
Minz_Request::good(_t('feedback.conf.query_created', $query['name']),
Minz_Request::good(_t('feedback.conf.query_created', $params['name']),
array('c' => 'configure', 'a' => 'queries'));
}