Closed RichDom2185 closed 11 months ago
After setting the pinOrder param to some number (not null), the story would then be pinned. However, when setting it back to null, the records are not updated to null.
pinOrder
null
Apparently, this is because GORM ignores fields that are set to nil by default.
nil
After setting the
pinOrder
param to some number (notnull
), the story would then be pinned. However, when setting it back tonull
, the records are not updated to null.Apparently, this is because GORM ignores fields that are set to
nil
by default.