X-Git-Url: https://git.cweiske.de/grauphel.git/blobdiff_plain/272bb16b2d434090008d0759e10ff28bab96cb51..35e58ea1056480418d36b08a98f288d583805b23:/controller/guicontroller.php diff --git a/controller/guicontroller.php b/controller/guicontroller.php index 534f18f..6fffcb2 100644 --- a/controller/guicontroller.php +++ b/controller/guicontroller.php @@ -121,7 +121,7 @@ class GuiController extends Controller ) ); - $selectedRawtag = null; + $selectedRawtag = 'grauphel:special:untagged'; if (count($note->tags) > 0) { $selectedRawtag = $note->tags[0]; } @@ -149,7 +149,7 @@ class GuiController extends Controller */ public function tag($rawtag) { - $notes = $this->getNotes()->loadNotesOverview(null, $rawtag); + $notes = $this->getNotes()->loadNotesOverview(null, $rawtag, true); usort( $notes, function($noteA, $noteB) {