Closed prysm1 closed 3 years ago
The intended behaviour is to first search the local database, if no result is found it then searches OFF. When item's are deleted they are not really deleted, they are marked as archived and hidden. This means they'll still show up in historic diary entries and statistics.
I could change the behaviour for archived items so it searches OFF first. What do you think?
The current behaviour is probably ok. As i am a very new user of waistline and not sure how everyone else is using it. The reason i noticed this is, I find that some of the entries from OFF are not very good(my opinion only). So i tried to fix the entry through the OFF website and then wanted to sync the new information.
I think will just close this for now. I think the work around is good enough for me. Thanks for looking into this.
I like the idea, it makes sense to me, so let's reopen this
ok. we would probably need a way to determine which data source is newer, otherwise it might clobber each others data.
edit: oh we can always just check if the item has been archived. during barcode scan, if item is archived or does not exist locally then use OFF data first.
This is probably a low priority Deleting an item from the Food table and re-scanning of the bar code reuses the the old info.
Work around was to unlink the food entry and edit the information manually