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

DHIS2-4749: fix comparison for finding app widget #209

Merged
merged 1 commit into from Sep 21, 2018
Merged

Conversation

edoardo
Copy link
Member

@edoardo edoardo commented Sep 21, 2018

It seems that by coincidence folderName was matching appKey. But
folderName has changed now, and in any case it was wrong to compare
folderName with appKey as key is what is actually read and written in
dashboardItems and comes from the same object present in both api/apps and api/dashboard/q responses.

It seems that by coincidence folderName was matching appKey. But
folderName has changed now, and in any case it was wrong to compare
folderName with appKey as key is what is actually read and written in
dashboardItems.
@edoardo edoardo merged commit 7ed4ea3 into master Sep 21, 2018
@edoardo edoardo deleted the fix/app-item branch September 21, 2018 09:16
edoardo added a commit that referenced this pull request Sep 21, 2018
It seems that by coincidence folderName was matching appKey. But
folderName has changed now, and in any case it was wrong to compare
folderName with appKey as key is what is actually read and written in
dashboardItems and comes from the same object present in both api/apps and api/dashboard/q responses.

(cherry picked from commit 7ed4ea3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants