Skip to content

Commit

Permalink
Merge branch 'release-2.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoboucas committed Dec 6, 2018
2 parents b5f11ca + 7c29aac commit d95502c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.0.1] (2018-12-06)

### Fixed

* fix issue with pagination when selecting referenced document
* show 404 message when accessing collection that doesn't exist

## [2.0.0] (2018-12-05)

First public release.
Expand Down
4 changes: 2 additions & 2 deletions frontend/views/DocumentListView/DocumentListView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ class DocumentListView extends Component {
const {
search = {}
} = state.router
const visibleFields = Object.keys(
const visibleFields = currentCollection && Object.keys(
getVisibleFields({
fields: currentCollection && currentCollection.fields,
fields: currentCollection.fields,
viewType: 'list'
})
).concat(Constants.DEFAULT_FIELDS)
Expand Down
1 change: 1 addition & 0 deletions frontend/views/ReferenceSelectView/ReferenceSelectView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ class ReferenceSelectView extends Component {
<DocumentListToolbar
documentsMetadata={documents && documents.metadata}
onBuildPageUrl={page => onBuildBaseUrl.call(this, {
createNew: !Boolean(documentId),
page,
referenceFieldSelect: referencedField
})}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dadi/publish",
"version": "2.0.0",
"version": "2.0.1",
"description": "DADI Publish",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit d95502c

Please sign in to comment.