[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7531] property: fix on filter
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7531] property: fix on filter |
Date: |
Thu, 25 Aug 2011 13:14:39 +0000 |
Revision: 7531
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7531
Author: sigurdne
Date: 2011-08-25 13:14:39 +0000 (Thu, 25 Aug 2011)
Log Message:
-----------
property: fix on filter
Modified Paths:
--------------
trunk/property/inc/class.sos_agreement.inc.php
Modified: trunk/property/inc/class.sos_agreement.inc.php
===================================================================
--- trunk/property/inc/class.sos_agreement.inc.php 2011-08-25 10:39:18 UTC
(rev 7530)
+++ trunk/property/inc/class.sos_agreement.inc.php 2011-08-25 13:14:39 UTC
(rev 7531)
@@ -334,13 +334,13 @@
$where= 'AND';
}
- if ($cat_id)
+ if ($cat_id && !$detail)
{
$filtermethod .= " $where
$entity_table.category='$cat_id' ";
$where= 'AND';
}
- if ($vendor_id)
+ if ($vendor_id && !$detail)
{
$filtermethod .= " $where
$entity_table.vendor_id='$vendor_id' ";
$where= 'AND';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7531] property: fix on filter,
Sigurd Nes <=