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:
@ -53,6 +53,10 @@ let methods = {
|
||||
return;
|
||||
}
|
||||
this.appendTerm(typeTerm);
|
||||
},
|
||||
|
||||
updateSearch() {
|
||||
window.location = '/search?term=' + encodeURIComponent(this.termString);
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -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
|
Reference in New Issue
Block a user