You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
I have a ng-repeat which shows only online users by default.
ng-repeat="user in group.GroupMembers | filter:user.online=true | filter:search
And if I search it will only search within online users. What I'd like to do is watch filter and if user enters filter text then I want to remove user.online filter so that it shows result from entire collection. So how do I remove a filter from controller?
Thanks!
Grant Rettke
unread,
Jun 10, 2013, 12:08:01 AM6/10/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
Create a function in the controller to do the filtering, conditionally
filtering on the user input or else defaulting to your existing
condition.
--
Grant Rettke | ACM, AMA, COG, IEEE
gre...@acm.org | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson