| Línea 788... |
Línea 788... |
| 788 |
if($request->isGet()) {
|
788 |
if($request->isGet()) {
|
| Línea 789... |
Línea 789... |
| 789 |
|
789 |
|
| 790 |
$page = (int) $this->params()->fromQuery('page');
|
790 |
$page = (int) $this->params()->fromQuery('page');
|
| 791 |
$type = $this->params()->fromRoute('type');
|
791 |
$type = $this->params()->fromRoute('type');
|
| - |
|
792 |
$topic_uuid = $this->params()->fromRoute('topic_uuid');
|
| Línea 792... |
Línea 793... |
| 792 |
$topic_uuid = $this->params()->fromRoute('topic_uuid');
|
793 |
$urgent = $this->params()->fromRoute('urgent');
|
| 793 |
|
794 |
|
| 794 |
if(isset($type)&& $type=='hptg'){
|
795 |
if(isset($type)&& $type=='hptg'){
|
| 795 |
$id = $this->params()->fromRoute('id');
|
796 |
$id = $this->params()->fromRoute('id');
|
| Línea 822... |
Línea 823... |
| 822 |
$select = $queryMapper->getSql()->select(FeedMapper::_TABLE);
|
823 |
$select = $queryMapper->getSql()->select(FeedMapper::_TABLE);
|
| 823 |
$select->columns(['id']);
|
824 |
$select->columns(['id']);
|
| 824 |
$select->where->equalTo('status', Feed::STATUS_PUBLISHED);
|
825 |
$select->where->equalTo('status', Feed::STATUS_PUBLISHED);
|
| 825 |
$select->where->equalTo('company_id',$currentCompany->id);
|
826 |
$select->where->equalTo('company_id',$currentCompany->id);
|
| 826 |
$select->where->equalTo('high_performance_group_id',$highPerformanceTeamsGroups->id);
|
827 |
$select->where->equalTo('high_performance_group_id',$highPerformanceTeamsGroups->id);
|
| - |
|
828 |
if(isset($urgent)){
|
| - |
|
829 |
$select->where->equalTo('priority', Feed::PRIORITY_URGENT);
|
| - |
|
830 |
}
|
| Línea 827... |
Línea 831... |
| 827 |
|
831 |
|
| 828 |
if(isset($topic_uuid)){
|
832 |
if(isset($topic_uuid)){
|
| 829 |
$highPerformanceTeamsGroupsViewTopicMapper = HighPerformanceTeamsGroupsViewTopicMapper::getInstance($this->adapter);
|
833 |
$highPerformanceTeamsGroupsViewTopicMapper = HighPerformanceTeamsGroupsViewTopicMapper::getInstance($this->adapter);
|
| 830 |
$highPerformanceTeamsGroupsViewTopic = $highPerformanceTeamsGroupsViewTopicMapper->fetchOneByUuid($topic_uuid);
|
834 |
$highPerformanceTeamsGroupsViewTopic = $highPerformanceTeamsGroupsViewTopicMapper->fetchOneByUuid($topic_uuid);
|