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

different rating of same movie #171

Closed
armaanbadhan opened this issue Mar 3, 2023 · 7 comments · Fixed by #172
Closed

different rating of same movie #171

armaanbadhan opened this issue Mar 3, 2023 · 7 comments · Fixed by #172
Assignees
Labels
easy Easy difficulty pwoc This issue can be resolved under pwoc

Comments

@armaanbadhan
Copy link
Contributor

the rating of same movie is different in detail view and in list view

@ken1000minus7
Copy link
Collaborator

Hmm I see, have you checked the cause of this

@armaanbadhan
Copy link
Contributor Author

the rating in the list view is from users userList which is outdated, the one is detail view is fetched everytime user opens that

@ken1000minus7
Copy link
Collaborator

For this we can change this line i believe, instead of copying the whole object we can just take the rating given by user and the status

if(item.id==listItem.id)
{
listItem=item
break
}
}

@armaanbadhan
Copy link
Contributor Author

yup, theres no point of storing the score

@ken1000minus7
Copy link
Collaborator

should i assign

@armaanbadhan
Copy link
Contributor Author

yessirr

@ken1000minus7
Copy link
Collaborator

nyc

@ken1000minus7 ken1000minus7 added pwoc This issue can be resolved under pwoc easy Easy difficulty labels Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Easy difficulty pwoc This issue can be resolved under pwoc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants