Support » Plugin: Post Sorter » plugin performs an alpha sort on numbers (it sorts 97 higher than 397)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rolice

    (@rolice)

    Thank you for your report. I have isolated the problem, as you may know post metadata is stored in longtext column in the database. So I have fixed it by casting the column as UNSIGNED INT just in ordering, which solved the problem.

    I will make few tests tomorrow and will publish an update. The new version contains new stuff also, but I was not deploying it, because of a problem with media, which I cannot reproduce (possibly conflict with some other plugin).

    Will write here tomorrow (I am in different timezone) with more information.

    Plugin Author rolice

    (@rolice)

    Please update your version and tell me if the issue is fixed.

    Thread Starter lbdesign

    (@lbdesign)

    It’s working great now, thank you! And thank you for responding so quickly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘plugin performs an alpha sort on numbers (it sorts 97 higher than 397)’ is closed to new replies.