fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [16276] property: filter for reported by in simple in


From: sigurdne
Subject: [Fmsystem-commits] [16276] property: filter for reported by in simple interface
Date: Wed, 8 Feb 2017 05:15:27 -0500 (EST)

Revision: 16276
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16276
Author:   sigurdne
Date:     2017-02-08 05:15:27 -0500 (Wed, 08 Feb 2017)
Log Message:
-----------
property: filter for reported by in simple interface

Modified Paths:
--------------
    trunk/property/inc/class.uitts.inc.php

Modified: trunk/property/inc/class.uitts.inc.php
===================================================================
--- trunk/property/inc/class.uitts.inc.php      2017-02-08 03:57:44 UTC (rev 
16275)
+++ trunk/property/inc/class.uitts.inc.php      2017-02-08 10:15:27 UTC (rev 
16276)
@@ -732,6 +732,7 @@
                                'list' => $values_combo_box[3]
                        );
 
+                       $values_combo_box[5] = array(); //reported by
                        if(!$this->simple)
                        {
                                $values_combo_box[0] = 
$this->cats->formatted_xslt_list(array('format' => 'filter',
@@ -811,17 +812,18 @@
                                );
 
                                $values_combo_box[5] = 
$this->bo->get_reported_by($this->reported_by);
-                               array_unshift($values_combo_box[5], array('id' 
=> $GLOBALS['phpgw_info']['user']['account_id'],
-                                       'name' => lang('my submitted 
tickets')));
-                               array_unshift($values_combo_box[5], array('id' 
=> '', 'name' => lang('reported by')));
-                               $combos[] = array('type' => 'filter',
-                                       'name' => 'reported_by',
-                                       'extra' => '',
-                                       'text' => lang('reported by'),
-                                       'list' => $values_combo_box[5]
-                               );
                        }
 
+                       array_unshift($values_combo_box[5], array('id' => 
$GLOBALS['phpgw_info']['user']['account_id'],
+                               'name' => lang('my submitted tickets')));
+                       array_unshift($values_combo_box[5], array('id' => '', 
'name' => lang('reported by')));
+                       $combos[] = array('type' => 'filter',
+                               'name' => 'reported_by',
+                               'extra' => '',
+                               'text' => lang('reported by'),
+                               'list' => $values_combo_box[5]
+                       );
+
                        if($order_read)
                        {
                                $combos[] = array('type' => 'filter',




reply via email to

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