Merge pull request 'Adjust quotation marks in search query before 'str_getcsv'.' (#26) from wn/tt-rss:search-quotation-marks into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/26
This commit is contained in:
commit
f2f2b6d1f4
|
@ -2054,8 +2054,7 @@ class Feeds extends Handler_Protected {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function _search_to_sql($search, $search_language, $owner_uid) {
|
private static function _search_to_sql($search, $search_language, $owner_uid) {
|
||||||
|
$keywords = str_getcsv(preg_replace('/(-?\w+)\:"(\w+)/', '"${1}:${2}', trim($search)), ' ');
|
||||||
$keywords = str_getcsv(trim($search), " ");
|
|
||||||
$query_keywords = array();
|
$query_keywords = array();
|
||||||
$search_words = array();
|
$search_words = array();
|
||||||
$search_query_leftover = array();
|
$search_query_leftover = array();
|
||||||
|
|
Loading…
Reference in New Issue