This commit is contained in:
cgfhtw
2024-11-05 15:35:00 +01:00
parent d0cf86585a
commit e3119ee48c
2 changed files with 0 additions and 6 deletions
@@ -50,7 +50,6 @@ class Searchbar extends FHCAPI_Controller
*/
public function search()
{
#$searchstrings = ['pid:71995', 'email:eder.iris', 'schnabl', 'schnabl thomas', 'schnabl thomas sarim', 'schnabl -thomas', 'nachname:schnabl -vorname:thomas', 'schnabl thomas -sarim', 'schnabl or hacker', '-ali', '-ali -baba', '-ali -baba -raub', '-ali -honig', '-ali -baba ali', 'hofer martin'];
$this->load->library('form_validation');
// Checks if the searchstr and the types parameters are in the POSTed JSON
-5
View File
@@ -32,11 +32,6 @@ class SearchBarLib
const ERROR_WRONG_TYPES = 'ERR004';
const ERROR_NOT_AUTH = 'ERR005';
// List of allowed types of search
const ALLOWED_TYPES = ['mitarbeiter', 'mitarbeiter_ohne_zuordnung', 'organisationunit', 'raum', 'person', 'student', 'prestudent', 'document', 'cms'];
const PHOTO_IMG_URL = '/cis/public/bild.php?src=person&person_id=';
private $_ci; // Code igniter instance
private $_searchfunction_priorities = [];