Hello,
I sell comic books so the product name sorting works partially. It dos not seem to see beyond the first digit in a issue number. Anybody know of a solution. A mod possibly. Thanks!!
Example:
Amazing Spiderman #1
Amazing Spiderman #11
Amazing Spiderman #12
Amazing Spiderman #2
Amazing Spiderman #24
Amazing Spiderman #3
[quote name=‘davidwpotts@bellsouth.net’]Hello,
I sell comic books so the product name sorting works partially. It dos not seem to see beyond the first digit in a issue number. Anybody know of a solution. A mod possibly. Thanks!!
Example:
Amazing Spiderman #1
Amazing Spiderman #11
Amazing Spiderman #12
Amazing Spiderman #2
Amazing Spiderman #24
Amazing Spiderman #3[/quote]
I think you should use 3 or 4 digits numbers e.g. 0001, 0002, 0012, 0128, etc.
This should be as simple as replacing```php
sort()
```with```php
natsort()
```in the search code. I’ve taken a look but haven’t found the location of that yet.
natsort : [url]http://php.net/manual/en/function.natsort.php[/url]
cheers,
Glen
[quote name=‘sixnin9’]This should be as simple as replacing```php
sort()
```with```php
natsort()
```in the search code. I’ve taken a look but haven’t found the location of that yet.
natsort : [url]http://php.net/manual/en/function.natsort.php[/url]
cheers,
Glen[/QUOTE]
Thanks much! I suspected there would be a simple fix. Now I have to find the proper code to replace. Anybody out there have an idea?