mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-13 08:42:42 +00:00
Stubbing out tests for searching
This commit is contained in:
@@ -93,7 +93,15 @@ const BrewData = {
|
||||
return BrewData.get({ editId });
|
||||
},
|
||||
|
||||
search : (query, req={}) => {
|
||||
search : (query, pagniation, sorting, permissions) => {
|
||||
|
||||
|
||||
//search with query, add in `published = false`
|
||||
// filter out editId and text
|
||||
|
||||
//if admin, removed published=false, remove filtering editId
|
||||
|
||||
|
||||
//defaults with page and count
|
||||
//returns a non-text version of brews
|
||||
//assume sanatized ?
|
||||
|
||||
Reference in New Issue
Block a user