Hi everyone ! 

I've got a small problem I have a pretty simple Json file that goes like 
that : 


{"1":{ "Name":"Equipment/item stowing/onloading",
         "ID":1, 
          "Photo":{"0":"","63":"test1","64":"test1z"} },
      "2":{"Name":"Equipment/item unstowing/offloading",
              "ID":2,
               "Photo1":null}
....}


I want to implement a search function  ; i've tried to do the simple : 

  <input type='text' name='search' ng-model='search'>
              <span ng-repeat="order in SAGT.genTasks | filter:search">
                    {{order}}   
              </span>
but that doesn't work , I supposed it's because of the nested Photo field. 

I've also tried something like that : 



<input type='text' name='Name' ng-model='search.Name'>              
<span ng-repeat="order in SAGT.genTasks | filterBy: ['Name']: search.Name">
                    {{order}}   
              </span>

But it doesn't work as well. 

Do you have any idea ? 

Thanks a lot :)

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to