This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository coselmar. See http://git.codelutin.com/coselmar.git commit 31974298ad2ef406dd4ebb04f9687bc3779d8887 Author: Yannick Martel <martel@©odelutin.com> Date: Thu Feb 5 17:58:36 2015 +0100 fixes #6615 order documents by deposit date desc in questions --- coselmar-ui/src/main/webapp/views/questions/closeQuestion.html | 2 +- coselmar-ui/src/main/webapp/views/questions/editquestion.html | 2 +- coselmar-ui/src/main/webapp/views/questions/newDocumentsPart.html | 2 +- coselmar-ui/src/main/webapp/views/questions/viewquestion.html | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/coselmar-ui/src/main/webapp/views/questions/closeQuestion.html b/coselmar-ui/src/main/webapp/views/questions/closeQuestion.html index 5400524..5498089 100644 --- a/coselmar-ui/src/main/webapp/views/questions/closeQuestion.html +++ b/coselmar-ui/src/main/webapp/views/questions/closeQuestion.html @@ -56,7 +56,7 @@ ng-click="modalCreateDocument(question.closingDocuments)"/> </th> </tr> - <tr ng-repeat="document in question.closingDocuments"> + <tr ng-repeat="document in question.closingDocuments | orderBy:'depositDate':true"> <td>{{document.name}}</a></td> <td>{{document.ownerName}}</td> <td><span diff --git a/coselmar-ui/src/main/webapp/views/questions/editquestion.html b/coselmar-ui/src/main/webapp/views/questions/editquestion.html index b7fcee8..d53665f 100644 --- a/coselmar-ui/src/main/webapp/views/questions/editquestion.html +++ b/coselmar-ui/src/main/webapp/views/questions/editquestion.html @@ -213,7 +213,7 @@ </tr> </thead> <tbody> - <tr ng-repeat="document in question.relatedDocuments"> + <tr ng-repeat="document in question.relatedDocuments | orderBy:'depositDate':true"> <td>{{document.name}}</a></td> <td>{{document.authors}}</td> <td><span ng-repeat="keyword in document.keywords">{{keyword}}, </span></td> diff --git a/coselmar-ui/src/main/webapp/views/questions/newDocumentsPart.html b/coselmar-ui/src/main/webapp/views/questions/newDocumentsPart.html index f08d889..b35d296 100644 --- a/coselmar-ui/src/main/webapp/views/questions/newDocumentsPart.html +++ b/coselmar-ui/src/main/webapp/views/questions/newDocumentsPart.html @@ -44,7 +44,7 @@ ng-click="modalCreateDocument(question.newRelatedDocuments)"/> </th> </tr> - <tr ng-repeat="document in question.newRelatedDocuments"> + <tr ng-repeat="document in question.newRelatedDocuments | orderBy:'depositDate':true"> <td>{{document.name}}</a></td> <td>{{document.authors}}</td> <td><span diff --git a/coselmar-ui/src/main/webapp/views/questions/viewquestion.html b/coselmar-ui/src/main/webapp/views/questions/viewquestion.html index ed3c79e..8699edb 100644 --- a/coselmar-ui/src/main/webapp/views/questions/viewquestion.html +++ b/coselmar-ui/src/main/webapp/views/questions/viewquestion.html @@ -50,7 +50,7 @@ </tr> </thead> <tbody> - <tr ng-repeat="document in question.relatedDocuments"> + <tr ng-repeat="document in question.relatedDocuments | orderBy:'depositDate':true"> <td><a href="#/documents/{{document.id}}" target="_blank">{{document.name}}</a></td> <td>{{document.authors}}</td> <td><span ng-repeat="keyword in document.keywords">{{keyword}}, </span></td> @@ -83,7 +83,7 @@ </tr> </thead> <tbody> - <tr ng-repeat="document in question.closingDocuments"> + <tr ng-repeat="document in question.closingDocuments | orderBy:'depositDate':true"> <td><a href="#/documents/{{document.id}}" target="_blank">{{document.name}}</a></td> <td>{{document.authors}}</td> <td><span ng-repeat="keyword in document.keywords">{{keyword}}, </span></td> -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.