virtualsplit and searchbar vue component, TestSearch Controller and View for Demonstration, minor change to SearchBar Controller to work with posted json

This commit is contained in:
Harald Bamberger
2022-06-24 19:26:37 +02:00
parent 147ab92bae
commit 47f7c03075
18 changed files with 1056 additions and 4 deletions
@@ -34,8 +34,12 @@ class SearchBar extends FHC_Controller
*/
public function search()
{
$searchstr = $this->input->post(self::SEARCHSTR_PARAM);
$types = $this->input->post(self::TYPES_PARAM);
//$searchstr = $this->input->post(self::SEARCHSTR_PARAM);
//$types = $this->input->post(self::TYPES_PARAM);
$json = json_decode($this->input->raw_input_stream, true);
$searchstr = $json[self::SEARCHSTR_PARAM];
$types = $json[self::TYPES_PARAM];
$this->outputJson($this->searchbarlib->search($searchstr, $types));
}