mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #348 from steiha/patch-1
fix sql queries // widgets // LastUpdated has to be LastEdited
This commit is contained in:
commit
22682b9c4a
@ -57,7 +57,7 @@ class BlogCategoriesWidget extends Widget
|
|||||||
->setMaxLength(3);
|
->setMaxLength(3);
|
||||||
|
|
||||||
$fields[] = DropdownField::create(
|
$fields[] = DropdownField::create(
|
||||||
'Order', _t('BlogCategoriesWidget.Sort.Label', 'Sort'), array('Title' => 'Title', 'Created' => 'Created', 'LastUpdated' => 'Updated')
|
'Order', _t('BlogCategoriesWidget.Sort.Label', 'Sort'), array('Title' => 'Title', 'Created' => 'Created', 'LastEdited' => 'Updated')
|
||||||
)
|
)
|
||||||
->setDescription(_t('BlogCategoriesWidget.Sort.Description', 'Change the order of categories shown by this widget.'));
|
->setDescription(_t('BlogCategoriesWidget.Sort.Description', 'Change the order of categories shown by this widget.'));
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class BlogTagsWidget extends Widget
|
|||||||
->setMaxLength(3);
|
->setMaxLength(3);
|
||||||
|
|
||||||
$fields[] = DropdownField::create(
|
$fields[] = DropdownField::create(
|
||||||
'Order', _t('BlogTagsWidget.Sort.Label', 'Sort'), array('Title' => 'Title', 'Created' => 'Created', 'LastUpdated' => 'Updated')
|
'Order', _t('BlogTagsWidget.Sort.Label', 'Sort'), array('Title' => 'Title', 'Created' => 'Created', 'LastEdited' => 'Updated')
|
||||||
)
|
)
|
||||||
->setDescription(_t('BlogTagsWidget.Sort.Description', 'Change the order of tags shown by this widget.'));
|
->setDescription(_t('BlogTagsWidget.Sort.Description', 'Change the order of tags shown by this widget.'));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user