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



commit d40f8adcf2eb7ad26ff22ca36d0c63e273fe0aab
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]