* fix bug #32095.
This commit is contained in:
+2
-1
@@ -857,8 +857,9 @@ class myModel extends model
|
||||
->where($myStoryQuery)
|
||||
->andWhere('t1.type')->eq('story')
|
||||
->andWhere('t1.assignedTo',1)->eq($this->app->user->account)
|
||||
->orWhere('t5.reviewer')->eq($this->app->user->account)
|
||||
->orWhere("(t5.reviewer = '{$this->app->user->account}' and t1.status in('reviewing','changing'))")
|
||||
->markRight(1)
|
||||
->andWhere('t1.product')->ne('0')
|
||||
->andWhere('t1.deleted')->eq(0)
|
||||
->orderBy($orderBy)
|
||||
->page($pager, 't1.id')
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div id="mainContent">
|
||||
<div class="cell<?php if($type == 'bysearch') echo ' show';?>" id="queryBox" data-module=<?php echo ($app->rawMethod == 'contribute' ? 'contributeStory' : 'workStory');?>></div>
|
||||
<div class="cell<?php if($type == 'bysearch') echo ' show';?>" id="queryBox" data-module=<?php echo ($app->rawMethod == 'contribute' ? 'contributeStory' : 'workStory');?>></div>
|
||||
<?php if(!$stories):?>
|
||||
<div class="table-empty-tip">
|
||||
<p><span class="text-muted"><?php echo sprintf($lang->my->noData, $lang->SRCommon);?></span></p>
|
||||
|
||||
Reference in New Issue
Block a user