Rest API: link file to an issue #1283
This commit is contained in:
parent
e8d5a701fc
commit
744c0f6e36
@ -469,6 +469,7 @@ class DmsfFolder < ActiveRecord::Base
|
||||
self.title = params[:dmsf_folder][:title].strip
|
||||
self.description = params[:dmsf_folder][:description].strip
|
||||
self.dmsf_folder_id = params[:parent_id].present? ? params[:parent_id] : params[:dmsf_folder][:dmsf_folder_id]
|
||||
self.system = params[:dmsf_folder][:system].present?
|
||||
# Custom fields
|
||||
if params[:dmsf_folder][:custom_field_values].present?
|
||||
i = 0
|
||||
|
||||
@ -3,4 +3,5 @@
|
||||
<title>rest_api</title>
|
||||
<description>A folder created via REST API</description>
|
||||
<dmsf_folder_id/>
|
||||
<system/>
|
||||
</dmsf_folder>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user