https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26328

--- Comment #2 from Pablo AB <[email protected]> ---
You are right. On my tests:

SELECT barcode FROM items ORDER BY ABS(CAST(barcode AS UNSIGNED)) DESC LIMIT 5;
  770101E1 → 770101 (CAST on SELECT)

SELECT barcode FROM items ORDER BY ABS(barcode) DESC LIMIT 5;
  85350E65 → 8.535e69 (ABS on SELECT)

Your proposal seems the way to go.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to