Merge pull request #508 from mz8i/feature/499-global-edit-history
Decrease simple edit history time to 1 week
This commit is contained in:
commit
fe84016e79
@ -6,7 +6,7 @@ async function getGlobalEditHistory() {
|
||||
`SELECT log_id as revision_id, forward_patch, reverse_patch, date_trunc('minute', log_timestamp), username, building_id
|
||||
FROM logs, users
|
||||
WHERE logs.user_id = users.user_id
|
||||
AND log_timestamp >= now() - interval '21 days'
|
||||
AND log_timestamp >= now() - interval '7 days'
|
||||
ORDER BY log_timestamp DESC`
|
||||
);
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user