From 3a0b5706c4086fb2a02fba73759aa08340c3bd24 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Tue, 19 Mar 2019 17:33:03 +0200 Subject: [PATCH] Fixed the issue that caused linked files and folders from not showing in a library. gh-399 --- README.md | 4 ++-- admin/README.txt | 4 ++-- admin/controllers/languages.php | 1 + admin/models/ajax.php | 2 +- componentbuilder.xml | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dc21264fc..c5558ad25 100644 --- a/README.md +++ b/README.md @@ -146,11 +146,11 @@ TODO + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 13th March, 2019 ++ *Last Build*: 19th March, 2019 + *Version*: 2.9.13 + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **203649** ++ *Line count*: **203650** + *Field count*: **1114** + *File count*: **1337** + *Folder count*: **209** diff --git a/admin/README.txt b/admin/README.txt index dc21264fc..c5558ad25 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -146,11 +146,11 @@ TODO + *Author*: [Llewellyn van der Merwe](mailto:llewellyn@joomlacomponentbuilder.com) + *Name*: [Component Builder](https://github.com/vdm-io/Joomla-Component-Builder) + *First Build*: 30th April, 2015 -+ *Last Build*: 13th March, 2019 ++ *Last Build*: 19th March, 2019 + *Version*: 2.9.13 + *Copyright*: Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **203649** ++ *Line count*: **203650** + *Field count*: **1114** + *File count*: **1337** + *Folder count*: **209** diff --git a/admin/controllers/languages.php b/admin/controllers/languages.php index 5076132be..7ea782bd8 100644 --- a/admin/controllers/languages.php +++ b/admin/controllers/languages.php @@ -122,6 +122,7 @@ class ComponentbuilderControllerLanguages extends JControllerAdmin // set redirect $redirect_url = JRoute::_('index.php?option=com_componentbuilder&view=languages', false); $this->setRedirect($redirect_url, $message); + return true; } } // set redirect diff --git a/admin/models/ajax.php b/admin/models/ajax.php index 191eb2504..4140a7041 100644 --- a/admin/models/ajax.php +++ b/admin/models/ajax.php @@ -630,7 +630,7 @@ class ComponentbuilderModelAjax extends JModelList protected $ref; protected $fieldsArray = array( 'library_config' => 'addconfig', - 'library_files_folders_urls' => array('addurls','addfiles','addfolders'), + 'library_files_folders_urls' => array('addurls', 'addfiles', 'addfolders', 'addfoldersfullpath', 'addfilesfullpath'), 'admin_fields' => 'addfields', 'admin_fields_conditions' => 'addconditions', 'admin_fields_relations' => 'addrelations', diff --git a/componentbuilder.xml b/componentbuilder.xml index 3ce3606bc..738e29551 100644 --- a/componentbuilder.xml +++ b/componentbuilder.xml @@ -1,7 +1,7 @@ COM_COMPONENTBUILDER - 13th March, 2019 + 19th March, 2019 Llewellyn van der Merwe llewellyn@joomlacomponentbuilder.com http://www.joomlacomponentbuilder.com