From 85cbfcedb50b3a579d13697b4ec27c87450f68a7 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Thu, 7 Jan 2021 15:47:39 -0500 Subject: 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 --- app/Controllers/configureController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Controllers') diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php index db390e4c1..5c8814895 100755 --- a/app/Controllers/configureController.php +++ b/app/Controllers/configureController.php @@ -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')); } -- cgit v1.2.3