[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [16352] fetch documents per item
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [16352] fetch documents per item |
Date: |
Mon, 20 Feb 2017 15:36:43 -0500 (EST) |
Revision: 16352
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16352
Author: sigurdne
Date: 2017-02-20 15:36:43 -0500 (Mon, 20 Feb 2017)
Log Message:
-----------
fetch documents per item
Modified Paths:
--------------
trunk/property/inc/class.uientity.inc.php
Modified: trunk/property/inc/class.uientity.inc.php
===================================================================
--- trunk/property/inc/class.uientity.inc.php 2017-02-20 14:28:27 UTC (rev
16351)
+++ trunk/property/inc/class.uientity.inc.php 2017-02-20 20:36:43 UTC (rev
16352)
@@ -598,7 +598,7 @@
$doc_type = phpgw::get_var('doc_type', 'int');
$entity_id = phpgw::get_var('entity_id', 'int');
$cat_id = phpgw::get_var('cat_id', 'int');
- $num = phpgw::get_var('num');
+ $item_id = phpgw::get_var('item_id');
$location_id = phpgw::get_var('location_id', 'int');
$export = phpgw::get_var('export', 'bool');
$values = array();
@@ -614,7 +614,8 @@
'doc_type' => $doc_type,
'entity_id' => $entity_id,
'cat_id' => $cat_id,
- 'num' => $num
+ 'num' => $item_id,
+ 'location_item_id' => $item_id,
);
$document = CreateObject('property.sodocument');
@@ -2167,7 +2168,7 @@
(
'container' =>
'datatable-container_7',
'requestUrl' =>
json_encode(self::link(array('menuaction' => 'property.uientity.get_documents',
- 'location_id' =>
$location_id, 'entity_id' => $this->entity_id, 'cat_id' => $this->cat_id, 'num'
=> $values['num'], 'phpgw_return_as' => 'json'))),
+ 'location_id' =>
$location_id, 'entity_id' => $this->entity_id, 'cat_id' => $this->cat_id,
'item_id' => $id, 'phpgw_return_as' => 'json'))),
'data' => "",
'tabletools' => ($mode ==
'edit') ? $documents_tabletools : array(),
'ColumnDefs' => $documents_def,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [16352] fetch documents per item,
sigurdne <=