mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
2020-09-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs in rdcastmanager(1) that caused incorrect feed and item icons to be displayed in lists. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -599,7 +599,7 @@ void ListCasts::RefreshItem(RDListViewItem *item)
|
||||
"FEED_IMAGES.DATA "+ // 12
|
||||
"from PODCASTS left join FEEDS "+
|
||||
"on PODCASTS.FEED_ID=FEEDS.ID left join FEED_IMAGES "+
|
||||
"on FEEDS.ID=FEED_IMAGES.FEED_ID where "+
|
||||
"on PODCASTS.ITEM_IMAGE_ID=FEED_IMAGES.ID where "+
|
||||
QString().sprintf("PODCASTS.ID=%d",item->id());
|
||||
q=new RDSqlQuery(sql);
|
||||
if(q->first()) {
|
||||
|
@@ -286,7 +286,7 @@ void MainWidget::RefreshItem(RDListViewItem *item)
|
||||
"FEEDS.BASE_URL,"+ // 03
|
||||
"FEED_IMAGES.DATA "+ // 04
|
||||
"from FEEDS left join FEED_IMAGES "+
|
||||
"on FEEDS.ID=FEED_IMAGES.FEED_ID where "+
|
||||
"on FEEDS.CHANNEL_IMAGE_ID=FEED_IMAGES.ID where "+
|
||||
"FEEDS.KEY_NAME=\""+RDEscapeString(item->text(1))+"\"";
|
||||
q=new RDSqlQuery(sql);
|
||||
while(q->next()) {
|
||||
|
Reference in New Issue
Block a user