enable search with get route

This commit is contained in:
mpostma
2021-02-16 15:54:07 +01:00
parent f175d20599
commit e1253b6969
4 changed files with 86 additions and 25 deletions

View File

@ -11,7 +11,7 @@ use serde_json::{Value, Map};
use crate::index_controller::IndexController;
use super::Data;
const DEFAULT_SEARCH_LIMIT: usize = 20;
pub const DEFAULT_SEARCH_LIMIT: usize = 20;
const fn default_search_limit() -> usize { DEFAULT_SEARCH_LIMIT }