[gnome-boxes/downloads-fixups: 2/6] os-database: Properly filter OSes that haven't reached EOL



commit 7a9dddac609049ca8d46e8b2124f9bf5d0c06bcc
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Nov 13 11:18:03 2018 +0100

    os-database: Properly filter OSes that haven't reached EOL

 src/os-database.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/os-database.vala b/src/os-database.vala
index d636cae2..8c3353c7 100644
--- a/src/os-database.vala
+++ b/src/os-database.vala
@@ -125,7 +125,7 @@ public async Os get_os_by_id (string id) throws OSDatabaseError {
                     continue;
 
                 var eol = (os as Product).get_eol_date ();
-                if (eol == null || now.compare (eol) > 1)
+                if (eol == null || now.compare (eol) < 1)
                     after_list.append (media);
             }
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]