forked from ZwiiCMS-Team/ZwiiCMS
Tri des galeries modifié après édition d'une galerie
This commit is contained in:
parent
564089b598
commit
2d010b36f2
@ -243,7 +243,7 @@ class gallery extends common {
|
||||
'directory' => $this->getInput('galleryEditDirectory', helper::FILTER_STRING_SHORT, true),
|
||||
'homePicture' => $homePicture[0],
|
||||
'sort' => $this->getInput('galleryEditSort'),
|
||||
'position' => count($this->getData(['module',$this->getUrl(0)]))
|
||||
'position' => empty($this->getData(['module', $this->getUrl(0), $galleryId,'config','position'])) ? count($this->getData(['module',$this->getUrl(0)])) : $this->getData(['module', $this->getUrl(0), $galleryId,'config','position'])
|
||||
],
|
||||
'legend' => $legends,
|
||||
'position' => empty($picturesPosition) ? $this->getData(['module', $this->getUrl(0), $this->getUrl(2),'position']) : $picturesPosition
|
||||
|
Loading…
Reference in New Issue
Block a user