Skip to content
Snippets Groups Projects
Commit 7399476c authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #64573 add other sort values to article widget

parent 1afd25b0
Branches
Tags
3 merge requests!3297WIP: Master,!3037Master,!2988Dev#64573 templates pour l interface publique libraire bootstrap
Pipeline #5828 failed with stage
in 26 minutes and 31 seconds
......@@ -48,6 +48,10 @@ class Intonation_Library_Widget_Carousel_Article_Form extends Intonation_Library
public function getOrders() {
return [Intonation_Library_Widget_Carousel_Article_Definition::SORT_RANDOM => $this->_('Aléatoire'),
Intonation_Library_Widget_Carousel_Article_Definition::SORT_CREATION_DESC => $this->_('Date de création'),
Intonation_Library_Widget_Carousel_Article_Definition::SORT_EVENT => $this->_('Date de début d\'événement'),
Intonation_Library_Widget_Carousel_Article_Definition::SORT_PUBLICATION_DESC => $this->_('Date de publication'),
Intonation_Library_Widget_Carousel_Article_Definition::SORT_COMMENTS => $this->_('Nombre d\'avis'),
Intonation_Library_Widget_Carousel_Article_Definition::SORT_SELECTION => $this->_('Sélection')];
}
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment