From 0678851ee76c283a81b9728d21277302db58056c Mon Sep 17 00:00:00 2001 From: Andrei Forascu Date: Thu, 28 Feb 2019 12:18:43 +0200 Subject: [PATCH] REPO-3630/MNT-19696: REST API add order by parameter option to GET favorites (#354) - add title to the PersonFavouriteKey constructor cherry-picked 9c098fa from master --- .../java/org/alfresco/repo/favourites/PersonFavourite.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/alfresco/repo/favourites/PersonFavourite.java b/src/main/java/org/alfresco/repo/favourites/PersonFavourite.java index 60e1497b75..6e0e53664f 100644 --- a/src/main/java/org/alfresco/repo/favourites/PersonFavourite.java +++ b/src/main/java/org/alfresco/repo/favourites/PersonFavourite.java @@ -66,7 +66,8 @@ public class PersonFavourite this.userName = userName; this.type = type; this.nodeRef = nodeRef; - this.createdAt = createdAt; + this.createdAt = createdAt; + this.title = title; } public String getTitle()