Giveth / impact-graph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unify projects count in projectsByUserId and userByAddress

mohammadranjbarz opened this issue · comments

In userByAddress web service we return all projects count but in projectsByUserId we return active and listed projects.
After I talked with @RamRamez , it's better to return active and listed project, unless if user who requests is the owner of that wallet address then we should return all projects count.

@RamRamez is it ok?
@CarlosQ96 can you take this?

userByAddress

projectsByUserId

Do you have any Idea when this issue will be ready to test? @mohammadranjbarz @CarlosQ96

Do you have any Idea when this issue will be ready to test? @mohammadranjbarz @CarlosQ96

Kindly reminder @CarlosQ96

I'll work on it between today and tomorrow

Finished Pr ill merge tomorrow early so we can test. @maryjaf

I tested and by this changes the project count in public profile view for the owner has been affected and it isn't correct
@CarlosQ96 & @mateodaza checked and raised this issue Giveth/giveth-dapps-v2#3203

Backend done but need frontend to finalize it. Will leave it here in QA column. @maryjaf
Giveth/giveth-dapps-v2#3203