Skip to content

Commit

Permalink
Merge pull request BloomBooks#549 from StephenMcConnel/BL-13403-FixMi…
Browse files Browse the repository at this point in the history
…nVersionUrl

Ensure bloom bookorder url minVersion has decimal point value (BL-13403)
  • Loading branch information
hatton authored May 2, 2024
2 parents 65512e5 + bc5aabd commit ee75277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BookDetail/ArtifactHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function getBookOrderUrl(book: Book, forEdit: boolean) {
// by all the versions that do this check.
// We do need 6.0 to handle the forEdit parameter, so we will pass that and retrofit at least
// 5.5 and 5.6 to do the check.
const minVersion = forEdit ? 6.0 : 4.8;
const minVersion = forEdit ? "6.0" : "4.8"; // string to ensure it's passed with a decimal point value

const forEditPart = forEdit
? `&forEdit=true&database-id=${book.id}`
Expand Down

0 comments on commit ee75277

Please sign in to comment.