Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The template scope's Datastore variable bug (in showView) #1365

Open
ajordanduh opened this issue Sep 22, 2017 · 0 comments
Open

The template scope's Datastore variable bug (in showView) #1365

ajordanduh opened this issue Sep 22, 2017 · 0 comments

Comments

@ajordanduh
Copy link

It seems when using the datastore variable to compare what is saved in the database and what is on the server you get a lengthy json blob of the entire datastore if those values differ. I am trying to develop a workaround for this. An example of the comparison in my template is below:

<span ng-if="datastore._entries.teacher_name_14_values[0].values.years == entry.values.teacher_name_years_on_server" ...

Every time a teacher name is added or removed from the database the integer (14) is incremented or decremented causing the hard-coded value to be changed every time. Is there a fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant