partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit dba866b1bd840873291aba1e69aec532160ae9a2
parent d8ee22157dba9dc79244c56a1ad7d59c8a883124
Author: Timo A. Hummel <timo@netraver.de>
Date:   Thu, 26 May 2011 17:56:08 +0200

Fix: Sort by stocklevel now working again

Diffstat:
Msrc/de/RaumZeitLabor/PartDB2/Part/PartManager.php | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/de/RaumZeitLabor/PartDB2/Part/PartManager.php b/src/de/RaumZeitLabor/PartDB2/Part/PartManager.php @@ -69,6 +69,9 @@ class PartManager extends Singleton { case "storagelocation": $sortby = "st.name"; break; + case "stocklevel": + $sortby = "p.stockLevel"; + break; default: $sortby = "p.name"; }