Skip to content

Commit

Permalink
Merge pull request #607 from kabalin/keep-type-change-fields
Browse files Browse the repository at this point in the history
Retain description, author and source fields on image type change.
  • Loading branch information
kabalin authored Aug 1, 2023
2 parents 51c19b9 + 02c5e92 commit ef61264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/module/photo/photo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ define(['underscore', 'Utils', 'socket!', 'Params', 'knockout', 'knockout.mappin

const changes = _.chain(koMapping.toJS(p))
.pick(
'geo', 'dir', 'title', 'year', 'year2', 'address',
'geo', 'dir', 'title', 'year', 'year2', 'address', 'desc', 'source', 'author',
'nowaterchange', 'watersignIndividual', 'disallowDownloadOriginIndividual'
)
.transform(function (result, value, key) {
Expand Down

0 comments on commit ef61264

Please sign in to comment.