phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/inc/class.bodocument.inc.php, 1.2.2.1


From: nomail
Subject: [Phpgroupware-cvs] property/inc/class.bodocument.inc.php, 1.2.2.1
Date: Mon, 8 Nov 2004 14:57:50 +0100

Update of /property/inc
Modified Files:
        Branch: proposed-0_9_18-branch
          class.bodocument.inc.php

date: 2004/11/08 13:57:50;  author: sigurdne;  state: Exp;  lines: +8 -1

Log Message:
no message
=====================================================================
Index: property/inc/class.bodocument.inc.php
diff -u property/inc/class.bodocument.inc.php:1.2 
property/inc/class.bodocument.inc.php:1.2.2.1
--- property/inc/class.bodocument.inc.php:1.2   Wed Jun  2 18:54:27 2004
+++ property/inc/class.bodocument.inc.php       Mon Nov  8 13:57:50 2004
@@ -62,6 +62,8 @@
                        $status_id      = 
get_var('status_id',array('POST','GET'));
                        $entity_id      = 
get_var('entity_id',array('POST','GET'));
                        $doc_type       = 
get_var('doc_type',array('POST','GET'));
+                       $query_location = 
get_var('query_location',array('POST','GET'));
+
 
                        if ($start)
                        {
@@ -104,6 +106,10 @@
                        {
                                $this->doc_type = $doc_type;
                        }
+                       if(isset($query_location))
+                       {
+                               $this->query_location = $query_location;
+                       }
 
                }
 
@@ -129,6 +135,7 @@
                        $this->cat_id   = $data['cat_id'];
                        $this->entity_id        = $data['entity_id'];
                        $this->doc_type = $data['doc_type'];
+                       $this->query_location   = $data['query_location'];
                }
 
                function select_status_list($format='',$selected='')
@@ -250,7 +257,7 @@
                function read()
                {
                        $document = $this->so->read(array('start' => 
$this->start,'query' => $this->query,'sort' => $this->sort,'order' => 
$this->order,
-                                                                               
        'filter' => $this->filter,'cat_id' => $this->cat_id,'entity_id' => 
$this->entity_id));
+                                                                               
        'filter' => $this->filter,'cat_id' => $this->cat_id,'entity_id' => 
$this->entity_id,'doc_type'=>$this->doc_type));
                        $this->total_records = $this->so->total_records;
 
                        $this->uicols   = $this->so->uicols;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]