File tree 4 files changed +8
-15
lines changed
src/protected/application
themes/BaseV1/layouts/parts/singles
4 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -1865,7 +1865,7 @@ protected function _addFilterByPermissions($value) {
1865
1865
$ pkey = $ this ->addSingleParam ($ this ->_permission );
1866
1866
$ _uid = $ user ->id ;
1867
1867
1868
- if (($ this ->_permission != 'view ' || $ class ::isPrivateEntity ()) && (!$ this ->usesOriginSubsite )) {
1868
+ if (($ this ->_permission != 'view ' || $ class ::isPrivateEntity ()) && (!$ this ->usesOriginSubsite || ! $ this -> adminInSubsites )) {
1869
1869
$ this ->joins .= " JOIN e.__permissionsCache $ alias WITH $ alias.action = $ pkey AND $ alias.userId = $ _uid " ;
1870
1870
1871
1871
} else {
Original file line number Diff line number Diff line change @@ -861,7 +861,6 @@ function API_findEvaluations($opportunity_id = null) {
861
861
registration_id IN ( {$ registration_ids })
862
862
$ sql_status
863
863
ORDER BY registration_sent_timestamp, valuer_user_id ASC
864
- $ sql_limit
865
864
" , $ params );
866
865
867
866
@@ -1076,4 +1075,4 @@ function POST_saveFieldsOrder() {
1076
1075
}
1077
1076
1078
1077
}
1079
- }
1078
+ }
Original file line number Diff line number Diff line change 47
47
<td colspan='10'>
48
48
<span ng-if="data.evaluations.length === 0"><?php \MapasCulturais \i::_e ("Nenhuma avaliação enviada. " );?> </span>
49
49
<span ng-if="data.evaluations.length === 1"><?php \MapasCulturais \i::_e ("1 avaliação encontrada. " );?> </span>
50
- <span ng-if="data.evaluations.length > 1">{{data.evaluations.length}}
51
- <span ng-if="data.evaluationsAPIMetadata.count > 0">
52
- <i> de {{ data.evaluationsAPIMetadata.count }}</i>
53
- </span>
54
- <?php \MapasCulturais \i::_e ("Avaliações " );?>
55
- </span>
50
+ <span ng-if="data.evaluations.length > 1">
51
+ {{data.evaluations.length}} <?php \MapasCulturais \i::_e ("Avaliações " );?>
52
+ </span>
56
53
</td>
57
54
</tr>
58
55
Original file line number Diff line number Diff line change 53
53
<td colspan='10'>
54
54
<span ng-if="data.evaluations.length === 0"><?php \MapasCulturais \i::_e ("Nenhuma avaliação enviada. " );?> </span>
55
55
<span ng-if="data.evaluations.length === 1"><?php \MapasCulturais \i::_e ("1 avaliação encontrada. " );?> </span>
56
- <span ng-if="data.evaluations.length > 1">{{data.evaluations.length}}
57
- <span ng-if="data.evaluationsAPIMetadata.count > 0">
58
- <i> de {{ data.evaluationsAPIMetadata.count }}</i>
59
- </span>
60
- <?php \MapasCulturais \i::_e ("Avaliações " );?>
61
- </span>
56
+ <span ng-if="data.evaluations.length > 1">
57
+ {{data.evaluations.length}} <?php \MapasCulturais \i::_e ("Avaliações " );?>
58
+ </span>
62
59
</td>
63
60
</tr>
64
61
<tr ng-repeat="evaluation in data.evaluations" id="registration-{{evaluation.registration.id}}">
You can’t perform that action at this time.
0 commit comments