From d9bcf68e395d6156645a7974b1a992aa6e6c00aa Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Mon, 14 Oct 2013 08:57:25 -0400
Subject: [PATCH] Added missing empty directories from svn import

---
 interface/web/sites/list/aps_installedpackages.list.php |   32 ++++++++++++++++++++++----------
 1 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/interface/web/sites/list/aps_installedpackages.list.php b/interface/web/sites/list/aps_installedpackages.list.php
index 573df2a..2340824 100644
--- a/interface/web/sites/list/aps_installedpackages.list.php
+++ b/interface/web/sites/list/aps_installedpackages.list.php
@@ -29,8 +29,15 @@
 */
 
 $liste['name'] = 'aps_instances'; // Name of the list
-$liste['table'] = 'aps_instances,aps_packages'; // Database table
+$liste['table'] = 'aps_instances'; // Database table
 $liste['table_idx'] = 'id'; // Table index
+
+// if multiple tables are involved, list the additional tables here (comma separated)
+$liste["additional_tables"] = "aps_packages";
+
+// if multiple tables are involved, specify sql to join these tables
+$liste["join_sql"] = " aps_instances.package_id = aps_packages.id";
+
 $liste["search_prefix"] = 'search_'; // Search field prefix
 $liste['records_per_page'] = 15; // Records per page
 $liste['file'] = 'aps_installedpackages_list.php'; // Script file for this list
@@ -47,7 +54,8 @@
                          'prefix'   => '%',
                          'suffix'   => '%',
                          'width'    => '',
-                         'value'    => '');
+                         'value'    => '',
+						 'table'	=> 'aps_packages');
  
 $liste["item"][] = array('field'    => 'version',
                          'datatype' => 'VARCHAR',
@@ -56,16 +64,19 @@
                          'prefix'   => '%',
                          'suffix'   => '%',
                          'width'    => '',
-                         'value'    => '');
+                         'value'    => '',
+						 'table'	=> 'aps_packages');
  
-$liste["item"][] = array('field'    => 'customer_name',
-                         'datatype' => 'VARCHAR',
-                         'formtype' => 'TEXT',
-                         'op'       => 'LIKE',
-                         'prefix'   => '%',
-                         'suffix'   => '%',
+ /*
+$liste["item"][] = array('field'    => 'customer_id',
+                         'datatype' => 'INTEGER',
+                         'formtype' => 'SELECT',
+                         'op'       => '=',
+                         'prefix'   => '',
+                         'suffix'   => '',
                          'width'    => '',
                          'value'    => '');
+*/
                          
 $liste["item"][] = array('field'    => 'instance_status',
                          'datatype' => 'VARCHAR',
@@ -77,5 +88,6 @@
                          'value'    => array(INSTANCE_INSTALL => $app->lng('Installation_task'),
                                              INSTANCE_ERROR => $app->lng('Installation_error'),
                                              INSTANCE_SUCCESS => $app->lng('Installation_success'),
-                                             INSTANCE_REMOVE => $app->lng('Installation_remove'))); 
+                                             INSTANCE_REMOVE => $app->lng('Installation_remove')),
+						 'table'	=> 'aps_instances'); 
 ?>
\ No newline at end of file

--
Gitblit v1.9.1