uc_attributes pager missing

Posts: 57
Joined: 08/23/2007

Hello,

Yesterday we updated organicgrace.com to the latest version of Ubercart (via the bazaar) and have noticed that the pager is missing now from admin/store/products/attributes.

I've checked in 3 different browsers, so I'm confident it isn't a broswer issue.

Any help getting it back would be much appreciated!

Thanks,

Jim

--

(Drupal^Ubercart) * (Design^Development^Hosting) = Sundays Energy

Posts: 2102
Joined: 08/07/2007
AdministratoreLiTe!

The page limit is 30 now, but I don't know if it's been changed recently. I don't have any sites with that many attributes, so hopefully that's the case with your site.

Posts: 57
Joined: 08/23/2007

Hi Lyle,

Thanks for getting back to me on your vacation - I hope you're having a great time! I just checked, and it stops at 30 attributes now. So that must have changed, as she does have more. If it could be increased to the previous amount (or more), that would be great.

Best,

Jim

--

(Drupal^Ubercart) * (Design^Development^Hosting) = Sundays Energy

Posts: 2102
Joined: 08/07/2007
AdministratoreLiTe!

Run this query on the database:

SELECT COUNT(*) FROM uc_attributes AS a LEFT JOIN uc_attribute_options AS ao ON a.aid = ao.aid GROUP BY a.aid, a.name, a.ordering

Also, the Devel module lets you see all the queries that were run to build each page load and the functions that did them. If you turn the query log on and go to that page, see if this query is done by "pager_query". If it's something else, run that query and see what you get.

Posts: 80
Joined: 08/09/2007
Uber DonorBug Finder

uc_attribute.module line 368 changed from 30 to 130. This returns enough results to function like it did.
We have a few sites running more than 30 attributes.

--

Biodiesel * (ubercart + drupal) = Sundays Energy

Posts: 3
Joined: 03/12/2008

Just talked to Ryan in IRC. This issue was fixed yesterday. It can be found in the development version now or in UC 1.1 when it gets released.

Also, note that if you have < 60 attributes, you can also change the table sort of the attribute name (i.e. reverse alphabetical order.)