# Favorites not staying as changed

**URL:** <https://community.glideapps.com/t/favorites-not-staying-as-changed/18881>\
**Category:** Ask for Help\
**Created:** [November 24, 2020, 8:33pm UTC](https://community.glideapps.com/t/favorites-not-staying-as-changed/18881 "2020-11-24T20:33:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jspellos](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jspellos/32/10824_2.png) [@jspellos](https://community.glideapps.com/u/jspellos)\
**Post date:** [November 24, 2020, 8:33pm UTC](https://community.glideapps.com/t/favorites-not-staying-as-changed/18881/1 "2020-11-24T20:33:38Z")

</div>

Hi…

Having a problem with Favorites in the app I’m creating. The table has RowID, and an “IsFavorite” column. My issue is that when I denote something (a recipe) as a favorite, and then try to unselect it, it reverts back to being a Favorite after a few seconds. Additionally, I have another page which has an inline list that I want to showcase a user’s favorites. Once a favorite is identified and show on that page, I can’t get it to be unfavorited so that it doesn’t show anymore.

Is this a bug, or is it just user (me) error? Any help would be appreciated.

Jim Spellos

---

<div class="post-metadata">

**Author:** ![wilkin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wilkin/32/18981_2.png) [@wilkin](https://community.glideapps.com/u/wilkin)\
**Post date:** [December 30, 2020, 5:37pm UTC](https://community.glideapps.com/t/favorites-not-staying-as-changed/18881/2 "2020-12-30T17:37:01Z")

</div>

Having this same issue too. Any insights on how to fix?

---

<div class="post-metadata">

**Author:** ![jspellos](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jspellos/32/10824_2.png) [@jspellos](https://community.glideapps.com/u/jspellos)\
**Post date:** [December 30, 2020, 5:56pm UTC](https://community.glideapps.com/t/favorites-not-staying-as-changed/18881/3 "2020-12-30T17:56:10Z")

</div>

I had something not working with my relation field. I deleted it and re-established it, and then it worked. Not sure how or why, but it took care of the problem. Hope this helps.

Jim

---

<div class="post-metadata">

**Author:** ![wilkin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wilkin/32/18981_2.png) [@wilkin](https://community.glideapps.com/u/wilkin)\
**Post date:** [December 30, 2020, 6:11pm UTC](https://community.glideapps.com/t/favorites-not-staying-as-changed/18881/4 "2020-12-30T18:11:56Z")

</div>

I tried deleting and reinstating the ROW ID field. It cleared all the previous automatically favorited entries.

But now when I try to favorite those same ones, it doesn’t allow me to favorite. But other entries can be favorited.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 31, 2020, 12:17am UTC](https://community.glideapps.com/t/favorites-not-staying-as-changed/18881/5 "2020-12-31T00:17:46Z")

</div>

> [@wilkin](#):
>
> But now when I try to favorite those same ones, it doesn’t allow me to favorite.

So old entries where you have cleared the rowID doesn’t let you favorite it anymore? What’s the behaviour? The “heart” just doesn’t turn to a “filled” state?

---

<div class="post-metadata">

**Author:** ![wilkin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wilkin/32/18981_2.png) [@wilkin](https://community.glideapps.com/u/wilkin)\
**Post date:** [December 31, 2020, 3:59am UTC](https://community.glideapps.com/t/favorites-not-staying-as-changed/18881/6 "2020-12-31T03:59:51Z")

</div>

Before clearing the rowID for the first time, there are 3 entries that always get favorited automatically. Even when i unfavorite them, they favorite themselves again.

I also noticed if i delete one of the problematic entries, it just automatically favorites some other entry, which gives me an indication either im doing something wrong, or it’s a bug?

After clearing the rowID and then repopulating it again. Everything is cleared. But now the same 3 problematic entries, I am unable to favorite them. When I click on the heart to favorite it, within 5 seconds it becomes unfilled again.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 31, 2020, 4:34am UTC](https://community.glideapps.com/t/favorites-not-staying-as-changed/18881/7 "2020-12-31T04:34:03Z")

</div>

I think there’s a bug somewhere in there if it “favorites automatically”. I believe favorites are tied to the rowID so probably that is the source of the problem.

Can you try duplicating the app and see if the problem persists?

---

<div class="post-metadata">

**Author:** ![wilkin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wilkin/32/18981_2.png) [@wilkin](https://community.glideapps.com/u/wilkin)\
**Post date:** [December 31, 2020, 9:35am UTC](https://community.glideapps.com/t/favorites-not-staying-as-changed/18881/8 "2020-12-31T09:35:23Z")

</div>

Duplicating it doesn’t work.

But creating a new one seems to do the trick. I must have messed up something along the line.

Thanks ThinhDinh & jspellos for your help!

Cheers,
