]> projects.mako.cc - scuttle/blobdiff - services/bookmarkservice.php
Merge branch 'master' of https://github.com/underhilllabs/scuttle
[scuttle] / services / bookmarkservice.php
index 2a8fb0d53b70f1c8495037310c5e4898483fa126..3d532f647ce2797ca4aac2bfbfe4ea77bc81adab 100644 (file)
@@ -276,6 +276,12 @@ class BookmarkService {
           case 'date_asc':
               $query_5 = ' ORDER BY B.bDatetime ASC ';
               break;
           case 'date_asc':
               $query_5 = ' ORDER BY B.bDatetime ASC ';
               break;
+          case 'mod_date_desc':
+              $query_5 = ' ORDER BY B.bModified DESC ';
+              break;
+          case 'mod_date_asc':
+              $query_5 = ' ORDER BY B.bModified ASC ';
+              break;
           case 'title_desc':
               $query_5 = ' ORDER BY B.bTitle DESC ';
               break;
           case 'title_desc':
               $query_5 = ' ORDER BY B.bTitle DESC ';
               break;

Benjamin Mako Hill || Want to submit a patch?