1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 14:13:03 +02:00

Fix for Page-Chapter Batch Link creation.

This commit is contained in:
Cameron
2013-06-14 17:00:41 -07:00
parent c6cec3cf61
commit 7d57148ed0
2 changed files with 47 additions and 8 deletions

View File

@@ -120,6 +120,8 @@ class page_chapters_ui extends e_admin_ui
protected $batchCopy = true;
protected $batchLink = true;
protected $listOrder = ' COALESCE(NULLIF(chapter_parent,0), chapter_id), chapter_parent > 0, chapter_order '; //FIXME works with parent/child but doesn't respect parent order.
protected $url = array('route'=>'page/chapter/index', 'vars' => array('id' => 'chapter_id', 'name' => 'chapter_sef'), 'name' => 'chapter_name', 'description' => ''); // 'link' only needed if profile not provided.
// protected $sortField = 'chapter_order';
// protected $orderStep = 10;