mirror of
https://github.com/verdigado/organization_folders.git
synced 2024-12-06 11:22:41 +01:00
reference organization folder by id not groupfolder id (same id, different nomenclature)
This commit is contained in:
parent
efca199c7f
commit
949e1a42d1
5 changed files with 15 additions and 11 deletions
|
@ -19,7 +19,7 @@ class FolderResource extends Resource {
|
|||
|
||||
$instance->setId($row["id"]);
|
||||
$instance->setParentResource($row["parent_resource"]);
|
||||
$instance->setGroupFolderId($row["group_folder_id"]);
|
||||
$instance->setOrganizationFolderId($row["organization_folder_id"]);
|
||||
$instance->setName($row["name"]);
|
||||
$instance->setActive($row["active"]);
|
||||
$instance->setLastUpdatedTimestamp($row["last_updated_timestamp"]);
|
||||
|
@ -36,7 +36,7 @@ class FolderResource extends Resource {
|
|||
return [
|
||||
'id' => $this->id,
|
||||
'parentResource' => $this->parentResource,
|
||||
'groupFolderId' => $this->groupFolderId,
|
||||
'organizationFolderId' => $this->organizationFolderId,
|
||||
'type' => "folder",
|
||||
'name' => $this->name,
|
||||
'active' => $this->active,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue