applySort() always read input_price_per_m for price sorting, but image models carry cost_per_image instead — input_price_per_m is undefined on them, so every image model got an effective price of 0 and the sort was a no-op. Fix: detect image models via cost_per_image !== undefined and use that field when present; fall back to input_price_per_m for text models. Files changed: - assets/js/model-picker.js — applySort price branch - prautoblogger.php — version bump 0.13.8 → 0.13.9 - CHANGELOG.md — release notes
5.7 KiB
5.7 KiB