Skip to content

Commit b159bac

Browse files
committed
#9295 publishing without issue assignment in editorial workflow
1 parent 4d8891f commit b159bac

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

classes/core/PKPApplication.php

+5
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ public function getReviewStages(): array;
102102
* Define if the application has customizable reviewer recommendation functionality
103103
*/
104104
public function hasCustomizableReviewerRecommendation(): bool;
105+
106+
/**
107+
* Define if the application has continuous publication functionality
108+
*/
109+
public function hasContinuousPublication(): bool;
105110
}
106111

107112
abstract class PKPApplication implements iPKPApplicationInfoProvider

locale/en/manager.po

+3
Original file line numberDiff line numberDiff line change
@@ -1080,6 +1080,9 @@ msgstr "The following appears on the <a href=\"{$url}\">submissions</a> page whe
10801080
msgid "manager.setup.disableSubmissions"
10811081
msgstr "Disable Submissions"
10821082

1083+
msgid "manager.setup.continuousPublication"
1084+
msgstr "Continuous Publication"
1085+
10831086
msgid "manager.setup.checklist"
10841087
msgstr "Checklist"
10851088

pages/dashboard/PKPDashboardHandler.php

+6
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,16 @@ public function index($args, $request)
164164
'filtersForm' => $filtersForm->getConfig(),
165165
'views' => $this->getViews(),
166166
'contextMinReviewsPerSubmission' => $context->getData('numReviewsPerSubmission') ?: 0,
167+
'issueCount' => Repo::issue()
168+
->getCollector()
169+
->filterByContextIds([$context->getId()])
170+
->getQueryBuilder()
171+
->count(),
167172
'publicationSettings' => [
168173
'supportsCitations' => !!$context->getData('citations'),
169174
'identifiersEnabled' => $identifiersEnabled,
170175
'isReviewerSuggestionEnabled' => (bool)$context->getData('reviewerSuggestionEnabled'),
176+
'isContinuousPublicationEnabled' => (bool)$context->getData('continuousPublication'),
171177
],
172178
'componentForms' => [
173179
'contributorForm' => $contributorForm->getConfig(),

0 commit comments

Comments
 (0)