James Ballard added a comment - 04/Apr/08 05:57 PM Categories and the ability to choose an order would be fantastic.
You can change two lines to order everything by the entered title, to quickly allow some improved management - search by user defined titles.
In blocks/rss_client/config_instance.html (around line 81):
Change
if ($rssfeeds = get_records_select('block_rss_client', 'userid = '.$USER->id.' OR shared = 1')) {
to
if ($rssfeeds = get_records_select('block_rss_client', 'userid = '.$USER->id.' OR shared = 1', 'preferredtitle ASC')) {
And in lib/rsslib.php (around line 396):
Change
$feeds = get_records_select('block_rss_client', $select, sql_order_by_text('title'));
to
$feeds = get_records_select('block_rss_client', $select, sql_order_by_text('preferredtitle'))
James Ballard added a comment - 04/Apr/08 06:01 PM The above of course requires that each feed has a custom title, as it doesn't take into account when the original feed title is used.
All content on this web site is made available under the GNU General Public License, unless otherwise stated.
You can change two lines to order everything by the entered title, to quickly allow some improved management - search by user defined titles.
In blocks/rss_client/config_instance.html (around line 81):
Change
if ($rssfeeds = get_records_select('block_rss_client', 'userid = '.$USER->id.' OR shared = 1')) {
to
if ($rssfeeds = get_records_select('block_rss_client', 'userid = '.$USER->id.' OR shared = 1', 'preferredtitle ASC')) {
And in lib/rsslib.php (around line 396):
Change
$feeds = get_records_select('block_rss_client', $select, sql_order_by_text('title'));
to
$feeds = get_records_select('block_rss_client', $select, sql_order_by_text('preferredtitle'))