when clicking the heart symbol as liked its not updating in aggregate table

when clicking the heart symbol as liked its not updating in aggregate table

  

hi friends,

                        I have a club table in which user like the club by clicking the heart symbol.when user click that heart it turns  true and again while clicking it turns false.how to make this toggling

what is this syntax means club.isliked=not club.isliked .where isliked is a boolean datatype.

I have attached my module

karthik r wrote:

hi friends,

                        I have a club table in which user like the club by clicking the heart symbol.when user click that heart it turns  true and again while clicking it turns false.how to make this toggling

what is this syntax means club.isliked=not club.isliked .where isliked is a boolean datatype.

I have attached my module

Hi karthik r, here is the solution..Enjoy..


Thanks

Rajendra Singh




My Humble request to the community guys to not create any fake id and don't post the unnecessary.





Thanks

Rajendra Singh