为什么我会收到此错误? angular.js:13920错误:[orderBy:notarray]

时间:2016-10-20 16:27:55

标签: angularjs codeigniter

我收到此错误消息:

enter image description here

我不知道我哪里出错了,我研究过bt找不到我的生活答案。我阅读文档无济于事,非常感谢任何帮助。这是问题所在的代码,我还在控制台中附加了错误图像。

tr ng-repeat="n in list_data| orderBy:Stlc_id|filter:search track by $index">

    <!--<td>{{n.participant_id}}</td>-->
    <td>{{n.First_Name}}</td>
    <td>{{n.Last_Name}}</td>
    <td>{{n.Stlc_id}}</td>

    <td>{{n.Function}}<form action="<?php echo site_url("index.php/transport/get_data")?>" method="post">
   <input type="hidden" name="id" value="{{n.participant_id}}"><br>
   <button><span class="glyphicon glyphicon-eye-open" aria-hidden="true">  </span>
   </button>  
</form><form action="<?php echo site_url("index.php/transport/edit_data")?>" method="post">
  <input type="hidden" name="id" value="{{n.participant_id}}"><br>
  <button><span class="glyphicon glyphicon-pencil" aria-hidden="true"> </span>
  </button>  
 </form></td>
    <td>{{n.Attendance_Monday}}</td>
    <td>{{n.Attendance_Tuesday}}</td>
    <td>{{n.Attendance_Wednesday}}</td>
    <td>{{n.Attendance_Thursday}}</td>
    <td>{{n.Attendance_Friday}}</td>
    <td>{{n.Lanyard_Status}}</td>
    <td>{{n.Monday_Pick_Up}}</td>
    <td>{{n.Monday_Drop_Off}}</td>
    <td>{{n.Tuesday_Pick_Up}}</td>
    <td>{{n.Tuesday_Drop_Off}}</td>
    <td>{{n.Wednesday_Pick_Up}}</td>
    <td>{{n.Wednesday_Drop_Off}}</td>
    <td>{{n.Thursday_Pick_Up}}</td>
    <td>{{n.Thursday_Drop_Off}}</td>
    <td>{{n.Friday_Pick_Up}}</td>
    <td>{{n.Friday_Drop_Off}}</td>
    <td>{{n.Saturday_Pick_Up}}</td>
    <td>{{n.Saturday_Drop_Off}}</td>
    <td>{{n.Sunday_Pick_Up}}</td>
    <td>{{n.Sunday_Drop_Off}}</td>


</tr>

0 个答案:

没有答案