1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Fixed entity type filter bug in new search system

This commit is contained in:
Dan Brown
2017-04-09 21:12:13 +01:00
parent 1338ae2fc3
commit 46f3d78c8a
3 changed files with 8 additions and 8 deletions

View File

@ -53,6 +53,10 @@ let methods = {
return;
}
this.appendTerm(typeTerm);
},
updateSearch() {
window.location = '/search?term=' + encodeURIComponent(this.termString);
}
};

View File

@ -40,6 +40,9 @@
<label><input type="checkbox" v-on:change="typeChange" v-model="search.type.book" value="book"> Book</label>
</div>
<button type="button" class="button pos" v-on:click="updateSearch">Update Search</button>
</div>
</div>
@ -48,11 +51,4 @@
</div>
</div>
@stop
@section('scripts')
<script>
</script>
@stop