From 4ca6e3977c149fe59e54aeed42558e7cc11de5b7 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Sun, 11 Sep 2022 20:52:07 -0700 Subject: [PATCH] Use flag for isvideo --- lib/Db/TimelineQueryDay.php | 2 +- src/components/Photo.vue | 2 +- src/components/Timeline.vue | 6 +++++- src/mixins/constants.js | 11 ++++++----- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/lib/Db/TimelineQueryDay.php b/lib/Db/TimelineQueryDay.php index 6efed3ce..7cf00a99 100644 --- a/lib/Db/TimelineQueryDay.php +++ b/lib/Db/TimelineQueryDay.php @@ -25,7 +25,7 @@ trait TimelineQueryDay { } if ($row["category"] === ITags::TAG_FAVORITE) { - $row["favorite"] = 1; + $row["isfavorite"] = 1; } unset($row["category"]); } diff --git a/src/components/Photo.vue b/src/components/Photo.vue index 6781d469..fa982beb 100644 --- a/src/components/Photo.vue +++ b/src/components/Photo.vue @@ -13,7 +13,7 @@ v-if="!(data.flag & c.FLAG_PLACEHOLDER)" @click="toggleSelect"> -
+