1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-04 22:29:15 +00:00

feedbrowser_cache: store title; implement by-title search in feed browser

This commit is contained in:
Andrew Dolgov
2009-01-20 11:01:22 +01:00
parent e51b9cb098
commit 931dcbc137
7 changed files with 38 additions and 12 deletions

View File

@@ -127,14 +127,14 @@
if ($browser_search) {
$search_qpart = " AND (
UPPER(ttrss_feedbrowser_cache.feed_url) LIKE UPPER('%$browser_search%'))";
//UPPER(title) LIKE UPPER('%$browser_search%'))";
UPPER(ttrss_feedbrowser_cache.feed_url) LIKE UPPER('%$browser_search%') OR
UPPER(title) LIKE UPPER('%$browser_search%'))";
} else {
$search_qpart = "";
}
$result = db_query($link, "SELECT ttrss_feedbrowser_cache.feed_url,
subscribers
subscribers,title
FROM
ttrss_feedbrowser_cache
WHERE