Skip to content

Commit

Permalink
Merge pull request #159 from vaibhavsTekdi/byDefaultHideCustomFieldCo…
Browse files Browse the repository at this point in the history
…lumns

Issue #158 : By default hide the custom field columns(record id + hashed columns) in reports
  • Loading branch information
manojLondhe committed Oct 24, 2019
2 parents b0a8571 + b8d63b2 commit fdad953
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
4 changes: 2 additions & 2 deletions tjreports/plugins/actionlog/tjreports/tjreports.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<extension version="3.9" type="plugin" group="actionlog" method="upgrade">
<name>plg_actionlog_tjreports</name>
<author>Techjoomla</author>
<creationDate>22nd Oct 2019</creationDate>
<creationDate>24th Oct 2019</creationDate>
<copyright>Copyright (C) 2016 - 2019 Techjoomla. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://techjoomla.com</authorUrl>
<version>1.1.2</version>
<version>1.1.3</version>
<description>PLG_ACTIONLOG_TJREPORTS_XML_DESCRIPTION</description>
<files>
<filename plugin="tjreports">tjreports.php</filename>
Expand Down
4 changes: 2 additions & 2 deletions tjreports/plugins/content/tjreportsfields/tjreportsfields.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<author>Techjoomla</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://techjoomla.com</authorUrl>
<creationDate>22nd Oct 2019</creationDate>
<creationDate>24th Oct 2019</creationDate>
<copyright>Copyright (C) 2016 - 2019 Techjoomla. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<version>1.1.2</version>
<version>1.1.3</version>

<files>
<filename plugin="tjreportsfields">tjreportsfields.php</filename>
Expand Down
4 changes: 2 additions & 2 deletions tjreports/plugins/privacy/tjreports/tjreports.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.4" type="plugin" group="privacy" method="upgrade">
<name>plg_privacy_tjreports</name>
<version>1.1.2</version>
<creationDate>22nd Oct 2019</creationDate>
<version>1.1.3</version>
<creationDate>24th Oct 2019</creationDate>
<author>Techjoomla</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://techjoomla.com</authorUrl>
Expand Down
4 changes: 2 additions & 2 deletions tjreports/plugins/user/tjreportsindexer/tjreportsindexer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<author>Techjoomla</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://techjoomla.com</authorUrl>
<creationDate>22nd Oct 2019</creationDate>
<creationDate>24th Oct 2019</creationDate>
<copyright>Copyright (C) 2016 - 2019 Techjoomla. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<version>1.1.2</version>
<version>1.1.3</version>
<install>
<sql>
<file driver="mysql" charset="utf8">sql/tjreportsindexer.install.sql</file>
Expand Down
5 changes: 2 additions & 3 deletions tjreports/site/models/reports.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,8 @@ protected function setCustomFieldsColumns()
{
$customField = array (
'title' => ($columnLabels[$columnName]) ? $columnLabels[$columnName] : $columnName,
'table_column' => $this->customFieldsTableAlias . '.' . $columnName

// , 'disable_sorting' => true
'table_column' => $this->customFieldsTableAlias . '.' . $columnName,
'not_show_hide' => false
);

// Eg. tuf.dob
Expand Down
4 changes: 2 additions & 2 deletions tjreports/tjreports.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<authorUrl>https://techjoomla.com</authorUrl>
<copyright>Copyright (C) 2016 - 2019 Techjoomla. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<creationDate>22nd Oct 2019</creationDate>
<version>1.1.2</version>
<creationDate>24th Oct 2019</creationDate>
<version>1.1.3</version>
<description>This component is used to access all the report at single place.</description>
<install>
<!-- Runs on install -->
Expand Down

0 comments on commit fdad953

Please sign in to comment.