CloudCannon / pagefind

Static low-bandwidth search at scale
https://pagefind.app
MIT License
3.23k stars 99 forks source link

Support numbers as sort values through the NodeJS API #513

Open bglw opened 7 months ago

bglw commented 7 months ago
      sort: {
        price: item.price
      },

I get this error:

Pagefind service error when parsing a message: invalid type: integer `69`, expected a string at line 1 column 1297

Originally posted by @stereobooster in https://github.com/CloudCannon/pagefind/discussions/512#discussioncomment-7650017