Topic: Deafult sort to Asset Code

How do I default the Asset page to sort by Asset Code, as opposed to Asset Model in 0.3.0

Re: Deafult sort to Asset Code

You'll want to edit the file /includes/qcodo/qform/QAssetSearchComposite.class.php and find this code:

// Column to originally sort by (Asset Model)
    $this->dtgAsset->SortColumnIndex = 2;

and change that second line to this:

    $this->dtgAsset->SortColumnIndex = 1;
Justin Sinclair

Got Inventory? Get Tracmor.

Re: Deafult sort to Asset Code

Thanks again