/** * @see lib/pkp/classes/oai/PKPOAIDAO::getEarliestDatestamp() */ function getEarliestDatestamp($setIds = array()) { return parent::getEarliestDatestamp('SELECT CASE WHEN COALESCE(dot.date_deleted, a.last_modified) > i.last_modified THEN i.last_modified ELSE COALESCE(dot.date_deleted, a.last_modified) END', $setIds); }
/** * @see lib/pkp/classes/oai/PKPOAIDAO::getEarliestDatestamp() */ function getEarliestDatestamp($setIds = array()) { return parent::getEarliestDatestamp('SELECT MIN(COALESCE(dot.date_deleted, a.last_modified))', $setIds); }