mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 03:15:31 -04:00
Restrict "recently added" from 3 months to 1
This commit is contained in:
parent
d2f9735250
commit
b70fad13a7
@ -566,7 +566,7 @@ class Library
|
|||||||
# from the same title are grouped together
|
# from the same title are grouped together
|
||||||
grouped_entries = deep_titles
|
grouped_entries = deep_titles
|
||||||
.map { |t|
|
.map { |t|
|
||||||
t.entries.select { |e| e.date_added > 3.months.ago }
|
t.entries.select { |e| e.date_added > 1.months.ago }
|
||||||
}
|
}
|
||||||
.select { |ary| !ary.empty? }
|
.select { |ary| !ary.empty? }
|
||||||
# Sort the array by the added date of the last added entry
|
# Sort the array by the added date of the last added entry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user