Commit 559c6ca4 authored by Michael Ngei's avatar Michael Ngei

Merge branch 'iprsv2_brian' into 'master'

Birth search reset done

See merge request !23
parents d103e97a a7f2c424
...@@ -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