Skip to content

Commit

Permalink
Merge pull request #55 from acsone/9.0-fix_display_title-lmi
Browse files Browse the repository at this point in the history
[9.0] [FIX] Display the node title if set into the CMIS container
  • Loading branch information
lmignon committed Mar 17, 2017
2 parents 58da1ba + d52036c commit 1cef2c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
9.0.?.?.? (?)
~~~~~~~~~~~~~

* Fix: Display the node title if set into the CMIS container.
* Fix: On the import document dialog, rename 'Create' button into 'Add'
* Fix: For items displayed into the datatable, adjust the dropdown menu
position based on page width.
Expand Down
4 changes: 2 additions & 2 deletions cmis_web/static/src/js/form_widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
this.name = this.getSuccinctProperty('cmis:name', cmis_object);
this.mimetype = this.getSuccinctProperty('cmis:contentStreamMimeType', cmis_object);
this.baseTypeId = this.getSuccinctProperty('cmis:baseTypeId', cmis_object);
this.title = this.getSuccinctProperty('cmis:title', cmis_object) || '';
this.title = this.getSuccinctProperty('cm:title', cmis_object) || '';
this.description = this.getSuccinctProperty('cmis:description', cmis_object);
this.lastModificationDate = this.getSuccinctProperty('cmis:lastModificationDate', cmis_object);
this.lastModifiedBy = this.getSuccinctProperty('cmis:lastModifiedBy', cmis_object);
Expand Down Expand Up @@ -856,7 +856,7 @@ var CmisMixin = {
orders_by.push('cmis:baseTypeId DESC,cmis:name ' + sort_order);
break;
case 2:
orders_by.push('cmis:title ' + sort_order);
orders_by.push('cm:title ' + sort_order);
break;
case 3:
orders_by.push('cmis:description ' + sort_order);
Expand Down

0 comments on commit 1cef2c4

Please sign in to comment.