[gnome-software/1630-new-updated-apps-are-not-actually-new: 9/9] gs-overview-page: Get recent applications for the past 30 days only
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1630-new-updated-apps-are-not-actually-new: 9/9] gs-overview-page: Get recent applications for the past 30 days only
- Date: Fri, 25 Feb 2022 11:26:47 +0000 (UTC)
commit 00d80caff1d63ca3698fcbb2deb85ee9d1b4bee5
Author: Milan Crha <mcrha redhat com>
Date: Fri Feb 25 12:24:13 2022 +0100
gs-overview-page: Get recent applications for the past 30 days only
No need to get recent apps for 60 days, 30 days is enough.
src/gs-overview-page.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-overview-page.c b/src/gs-overview-page.c
index 36463030a..66a873153 100644
--- a/src/gs-overview-page.c
+++ b/src/gs-overview-page.c
@@ -526,7 +526,7 @@ gs_overview_page_load (GsOverviewPage *self)
self->loading_recent = TRUE;
plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_GET_RECENT,
- "age", (guint64) (60 * 60 * 24 * 60),
+ "age", (guint64) (60 * 60 * 24 * 30),
/* To have large-enough set, in case filtering removes some
non-applicable apps */
"max-results", 3 * N_TILES,
"refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_RATING |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]