feature_23903 #3
|
@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
||||||
#### Enhancements
|
#### Enhancements
|
||||||
|
|
||||||
- [#23903] Catalogue Moderation: allow to send a message to the moderators on reject to pending operation
|
- [#23903] Catalogue Moderation: allow to send a message to the moderators on reject to pending operation
|
||||||
|
- [#24519] Added social_post=true to approve request
|
||||||
|
|
||||||
## [v1.1.1] - 2022-10-27
|
## [v1.1.1] - 2022-10-27
|
||||||
|
|
||||||
|
|
|
@ -356,7 +356,7 @@ public class CkanContentModeratorServiceImpl extends RemoteServiceServlet implem
|
||||||
List<String> approvedListItems = new ArrayList<String>();
|
List<String> approvedListItems = new ArrayList<String>();
|
||||||
for (String itemName : itemNames) {
|
for (String itemName : itemNames) {
|
||||||
try {
|
try {
|
||||||
cmsInstance.approveItem(itemName, moderatorMessage);
|
cmsInstance.approveItem(itemName, moderatorMessage, true);
|
||||||
approvedListItems.add(itemName);
|
approvedListItems.add(itemName);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.warn("Error when approving itemName: " + itemName, e);
|
LOG.warn("Error when approving itemName: " + itemName, e);
|
||||||
|
|
Loading…
Reference in New Issue