2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
$result=db_query_range('SELECT i.*, f.title AS ftitle, f.link AS flink FROM {aggregator_item} i INNER JOIN {aggregator_feed} f ON i.fid = f.fid ORDER BY i.timestamp DESC, i.iid DESC',0,$range_limit);
$result=db_query_range('SELECT * FROM {aggregator_item} WHERE fid = :fid ORDER BY timestamp DESC, iid DESC',0,$range_limit,array(':fid'=>$data->fid));
$query=db_select('aggregator_item','i');
$query
->fields('i')
->condition('i.fid',$data->fid);
break;
case'category':
$result=db_query_range('SELECT i.*, f.title AS ftitle, f.link AS flink FROM {aggregator_category_item} c LEFT JOIN {aggregator_item} i ON c.iid = i.iid LEFT JOIN {aggregator_feed} f ON i.fid = f.fid WHERE cid = :cid ORDER BY timestamp DESC, i.iid DESC',0,$range_limit,array(':cid'=>$data['cid']));
$item->categories=db_query('SELECT c.title, c.cid FROM {aggregator_category_item} ci LEFT JOIN {aggregator_category} c ON ci.cid = c.cid WHERE ci.iid = :iid ORDER BY c.title',array(':iid'=>$item->iid))->fetchAll();
$this->assertTrue(!empty($elements),t('Individual source page contains a pager.'));
// Reset the number of items in rss.xml to the default value.
variable_set('feed_default_items',10);
}
}
/**
...
...
@@ -887,4 +915,3 @@ class FeedParserTestCase extends AggregatorTestCase {
$this->assertEqual('urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a',db_query('SELECT guid FROM {aggregator_item} WHERE link = :link',array(':link'=>'http://example.org/2003/12/13/atom03'))->fetchField(),'Atom entry id element is parsed correctly.');