Skip to content

Commit

Permalink
Merge branch 'develop' into feature/upgrade_rust_1_75_0
Browse files Browse the repository at this point in the history
  • Loading branch information
ja573 authored Jan 8, 2024
2 parents 9dfeef0 + 28b3445 commit 50ae16b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgrade `actix-cors` to v0.7.0
- Increase size of URL columns in locations component

### Fixed
- [531](https://github.com/thoth-pub/thoth/pull/531) - Fix bug where New Publication form for Chapter could have an ISBN pre-populated but greyed out

## [[0.11.12]](https://github.com/thoth-pub/thoth/releases/tag/v0.11.12) - 2023-12-20
### Fixed
- [530](https://github.com/thoth-pub/thoth/pull/530) - Fix pagination offset calculation in export API
Expand Down
5 changes: 5 additions & 0 deletions thoth-app/src/component/publication_modal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ impl Component for PublicationModalComponent {
if let Some(publication) = ctx.props().publication_under_edit.clone() {
// Editing existing publication: load its current values.
self.publication = publication;
} else {
// Previous values will be retained if creating new publication, which may be
// useful for batch-adding, but this is less likely for ISBNs (and they also
// cannot be added for publications whose work type is Book Chapter).
self.publication.isbn = None;
}
// Ensure ISBN variable value is kept in sync with publication object.
self.isbn = self
Expand Down

0 comments on commit 50ae16b

Please sign in to comment.