mirror of
https://github.com/Universal-Omega/DynamicPageList3
synced 2024-11-28 01:50:34 +00:00
Fix firstrevisionsince and lastrevisionbefore parameters (#143)
This commit is contained in:
parent
181a32255e
commit
02fe40ec52
|
@ -1204,7 +1204,7 @@ class Query {
|
|||
$this->addWhere(
|
||||
[
|
||||
$this->tableNames['page'] . '.page_id = rev.revactor_page',
|
||||
'rev.revactor_timestamp = (SELECT MIN(rev_aux_snc.rev_timestamp) FROM ' . $this->tableNames['revision'] . ' AS rev_aux_snc WHERE rev_aux_snc.rev_page=rev.rev_page AND rev_aux_snc.rev_timestamp >= ' . $this->convertTimestamp( $option ) . ')'
|
||||
'rev.revactor_timestamp = (SELECT MIN(rev_aux_snc.revactor_timestamp) FROM ' . $this->tableNames['revision_actor_temp'] . ' AS rev_aux_snc WHERE rev_aux_snc.revactor_page=rev.revactor_page AND rev_aux_snc.revactor_timestamp >= ' . $this->convertTimestamp( $option ) . ')'
|
||||
]
|
||||
);
|
||||
}
|
||||
|
@ -1332,7 +1332,7 @@ class Query {
|
|||
$this->addWhere(
|
||||
[
|
||||
$this->tableNames['page'] . '.page_id = rev.revactor_page',
|
||||
'rev.revactor_timestamp = (SELECT MAX(rev_aux_bef.rev_timestamp) FROM ' . $this->tableNames['revision'] . ' AS rev_aux_bef WHERE rev_aux_bef.rev_page=rev.rev_page AND rev_aux_bef.rev_timestamp < ' . $this->convertTimestamp( $option ) . ')'
|
||||
'rev.revactor_timestamp = (SELECT MAX(rev_aux_bef.revactor_timestamp) FROM ' . $this->tableNames['revision_actor_temp'] . ' AS rev_aux_bef WHERE rev_aux_bef.revactor_page=rev.revactor_page AND rev_aux_bef.revactor_timestamp < ' . $this->convertTimestamp( $option ) . ')'
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue