Commit a7f2c424 authored by Brian Wangora's avatar Brian Wangora

Birth search reset done

parent 96c9cea9
...@@ -228,7 +228,10 @@ class Searchform extends Component ...@@ -228,7 +228,10 @@ class Searchform extends Component
$this->serial_number[]=$this->searchBirthEntryNum; $this->serial_number[]=$this->searchBirthEntryNum;
$this->humans[] = $human; $this->humans[] = $human;
$this->showTableResults(); $this->dispatch('viewResults', $this->humans,$this->serial_number,
$this->doctype,$this->records_not_found,
$this->search_count,$this->records_found);
}else{ }else{
session()->flash('error', 'Search parameter is missing..'); session()->flash('error', 'Search parameter is missing..');
}*/ }*/
...@@ -246,9 +249,7 @@ class Searchform extends Component ...@@ -246,9 +249,7 @@ class Searchform extends Component
$this->records_found[]=$this->searchBirthEntryNum; $this->records_found[]=$this->searchBirthEntryNum;
$this->serial_number[]=$this->searchBirthEntryNum; $this->serial_number[]=$this->searchBirthEntryNum;
$this->humans[] = $human; $this->humans[] = $human;
$this->dispatch('viewResults', $this->humans,$this->serial_number, $this->showTableResults();
$this->doctype,$this->records_not_found,
$this->search_count,$this->records_found);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment