#889 ✓resolved
Don Ziesig

count field value follows number of items on index page

Reported by Don Ziesig | December 21st, 2010 @ 01:12 AM | in Hobo 1.3 (Rails 3)

This error occurs for both standard index pages and those overridden by table plus.

Test case has 44 Profiles:

At the top of the first page: There are already 30 Profiles.
At the top of the second page: There are already 14 Profiles.

Similarly on the Users tab of the admin sub-site where there are 46 Users,

At the top of the first page: There are already 30 Users.
At the top of the second page: There are already 16 Users.

This is due to the use of this.size in the dryml index code, where this is populated from pagination, I fixed it by overriding the generated code, but I'm not sure how to fix it in the Hobo generator.

WRONG <ht key="profile.collection.count" count="&this.size">**
RIGHT **<ht key="profile.collection.count" count="&model.count">

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Referenced by

Pages