- Datumsformat korrigiert
- Anschaffungswert mit , und . speicherbar
- Betriebsmitteltyp nach Code sortiert
This commit is contained in:
Andreas Österreicher
2011-10-06 09:11:47 +00:00
parent aa49b31ac8
commit c4e2142427
3 changed files with 26 additions and 12 deletions
+2 -2
View File
@@ -91,11 +91,11 @@ class betriebsmitteltyp extends basis_db
* Laedt alle BetriebsmittelTypen
* @return true wenn ok, false wenn Fehler
*/
public function getAll()
public function getAll($order='beschreibung')
{
$this->result=array();
$this->errormsg = '';
$qry = "SELECT * FROM wawi.tbl_betriebsmitteltyp ORDER BY beschreibung";
$qry = "SELECT * FROM wawi.tbl_betriebsmitteltyp ORDER BY ".$order;
if($this->db_query($qry))
{