[Devel] [GIT] OpenBioMaps GIT repository, branch master updated: array type added to fields type in uploads

git at vocs.unideb.hu git at vocs.unideb.hu
Fri Jun 14 09:01:51 CEST 2019


    The project "OpenBioMaps GIT repository":

    The branch, master has been updated
       via  1ada63175fe6ca6ee827808a11029a720d3baa3d (commit)
      from  ad37b82bdbe7f16bc33aed76509323a7f7f57c26 (commit)


- Log -----------------------------------------------------------------
commit 1ada63175fe6ca6ee827808a11029a720d3baa3d
Author: Bán Miklós <banm at vocs.unideb.hu>
Date:   Fri Jun 14 08:57:44 2019 +0200

array type added to fields type in uploads

1) Set SQL field option '[]' to use arrays
2) Choose 'array' in create upload forms to use array type fields
3) Enter comma separated list of values in upload forms.
- empty elements are are automatically removed
- strings automatically quoted

recommendation: use character vary array if it is possible

-----------------------------------------------------------------------

Summary of changes:
 resources/libs/project_admin.php |  4 ++--
 resources/libs/upload_funcs.php  | 24 +++++++++++++++++++++++-
 2 files changed, 25 insertions(+), 3 deletions(-)

-- 
OpenBioMaps GIT repository


More information about the Devel mailing list