Skip to content

Commit

Permalink
Merge pull request #811 from oat-sa/TAO-2560-GenerisTree-added-sortin…
Browse files Browse the repository at this point in the history
…g-by-Label

Updated generis tree form (all data sorted by label)
  • Loading branch information
boajer committed Apr 27, 2016
2 parents a3be2c4 + da4583c commit 1b0b7e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
'label' => 'Tao base',
'description' => 'TAO meta-extension',
'license' => 'GPL-2.0',
'version' => '2.24.0',
'version' => '2.24.1',
'author' => 'Open Assessment Technologies, CRP Henri Tudor',
'requires' => array(
'generis' => '>=2.12.0'
Expand Down
3 changes: 2 additions & 1 deletion models/classes/GenerisTreeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ private function buildChildNodes(core_kernel_classes_Class $class) {
$searchResult = $class->searchInstances(array(), array(
'limit' => $limit,
'offset' => $this->offset,
'recursive' => false
'recursive' => false,
'order' => RDFS_LABEL,
));

foreach ($searchResult as $instance){
Expand Down
2 changes: 1 addition & 1 deletion scripts/update/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ public function update($initialVersion) {
$this->setVersion('2.22.0');
}

$this->skip('2.22.0', '2.24.0');
$this->skip('2.22.0', '2.24.1');


}
Expand Down

0 comments on commit 1b0b7e8

Please sign in to comment.