* Fix bug #49854.
This commit is contained in:
@@ -1413,11 +1413,12 @@ class story extends control
|
||||
$stories2Link = $this->story->getStories2Link($storyID, $browseType, $queryID, $pager);
|
||||
|
||||
/* Assign. */
|
||||
$this->view->title = $this->lang->story->linkStory . "STORY" . $this->lang->hyphen .$this->lang->story->linkStory;
|
||||
$this->view->type = $type;
|
||||
$this->view->pager = $pager;
|
||||
$this->view->stories2Link = $stories2Link;
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noletter');
|
||||
$this->view->title = $this->lang->story->linkStory . "STORY" . $this->lang->hyphen .$this->lang->story->linkStory;
|
||||
$this->view->type = $type;
|
||||
$this->view->pager = $pager;
|
||||
$this->view->stories2Link = $stories2Link;
|
||||
$this->view->maxGradeGroup = $this->story->getMaxGradeGroup();
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noletter');
|
||||
|
||||
$this->display();
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ $cols['title']['flex'] = 1;
|
||||
$cols = array_map(function($col){unset($col['sortType']); return $col;}, $cols);
|
||||
|
||||
$data = array();
|
||||
foreach($stories2Link as $linkStory) $data[] = $this->story->formatStoryForList($linkStory);
|
||||
foreach($stories2Link as $linkStory) $data[] = $this->story->formatStoryForList($linkStory, array(), $linkStory->type, $maxGradeGroup);
|
||||
|
||||
modalHeader(set::title($lang->story->linkStory));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user