Zen Cart Logo
Forums / General Questions / Customer List in Admin - not sorted by ID after importing from old server

Customer List in Admin - not sorted by ID after importing from old server

Locked

Views: 1,267

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
7 Feb 2010, 2:35 AM
#1
scamp avatar

scamp

New Zenner

Join Date:
Feb 2008
Location:
NZ
Posts:
60
Plugin Contributions:
0

Customer List in Admin - not sorted by ID after importing from old server

Hope this is the right place to put this one.

This really isn't an issue just annoying so if there is no way to fix it then it is fine.

I recently upgraded to a new server so brought all my customer database across from the old site. As a result the way the customer list is being sorted in admin is out of order. When I go in via myphpadmin, the names are all sorted by id which is what I want but for some reason this isn't coming through into the admin area.

Any ideas on how to get the admin to list the customer names by id as per normal?

Thanks heaps in advance

7 Feb 2010, 5:28 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer List in Admin - not sorted by ID after importing from old server

What indexes are on your customers table if you peek at it in phpMyAdmin ... :unsure:

7 Feb 2010, 6:20 AM
#3
scamp avatar

scamp

New Zenner

Join Date:
Feb 2008
Location:
NZ
Posts:
60
Plugin Contributions:
0

Re: Customer List in Admin - not sorted by ID after importing from old server

not to sure about indexes...

KEY idx_email_address_zen (customers_email_address),
KEY idx_referral_zen (customers_referral(10)),
KEY idx_grp_pricing_zen (customers_group_pricing),
KEY idx_nick_zen (customers_nick),
KEY idx_newsletter_zen (customers_newsletter)

7 Feb 2010, 3:37 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customer List in Admin - not sorted by ID after importing from old server

You should have a Primary index set on the customers_id ...

In phpMyAdmin, you can add a Primary Index on the customers_id ...

See if that doesn't fix the issue ...

17 Dec 2010, 12:42 PM
#5
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,873
Plugin Contributions:
7

Re: Customer List in Admin - not sorted by ID after importing from old server

I have the same issue after importing some new records.

Up to 40 was added manually/normally.
41-45 were imported.
46 was added manually.

I think the indexes are correct, but i don't really know what I am looking at.

thanks
Steve

19 Dec 2010, 1:40 PM
#6
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,873
Plugin Contributions:
7

Re: Customer List in Admin - not sorted by ID after importing from old server

well now its ordering correctly,

but I still would like to know what is going on here.

If it's not right, something must be wrong...somewhere...