fix syndicated content now showing all events in interleaved mode
This commit is contained in:
parent
f24ef44f5f
commit
3a9ea9ab2d
2 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.4.8
|
||||
- fix: Syndicated Content doesn't display all items with multiple feeds in interleaved mode
|
||||
|
||||
7.4.7
|
||||
- fix: misspelled i18n in webgui password recovery
|
||||
|
|
|
|||
|
|
@ -480,8 +480,8 @@ sub _create_interleaved_items {
|
|||
my($items,$rss_feeds,$maxHeadlines,$hasTermsRegex)=@_;
|
||||
my $items_remain = 1;
|
||||
while((@$items < $maxHeadlines) && $items_remain){
|
||||
$items_remain=0;
|
||||
foreach my $rss(@$rss_feeds){
|
||||
$items_remain=0;
|
||||
if(defined $rss->{items}
|
||||
&& @$items < $maxHeadlines
|
||||
&& (my $item = shift @{$rss->{items}})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue