client/app/search/modal.html
changeset 82 6a5e84bf859c
parent 75 288fb435874e
child 84 57a60c21a059
--- a/client/app/search/modal.html	Wed Apr 08 17:00:43 2015 +0200
+++ b/client/app/search/modal.html	Wed Apr 08 17:02:24 2015 +0200
@@ -4,7 +4,7 @@
 
 <div class="modal-body ng-scope">
 	<ul class="row ">
-		<li class="" ng-repeat="i in books | orderBy:'-date'">
+		<li class="" ng-repeat="i in books | filter:{parent_visit:'!null'}">
 			<div>
 				<a ng-click="addToBook(i.id)">{{ i.title }}</a>
 			</div>