Order in list views not working #150

Closed
opened 2017-10-26 12:24:40 +00:00 by kevincam3 · 4 comments
kevincam3 commented 2017-10-26 12:24:40 +00:00 (Migrated from github.com)

I set the values for Order in list views:
image

Then after compiling the component it looks like this:
image

I set the values for Order in list views: ![image](https://user-images.githubusercontent.com/870934/32052684-d11bad26-ba37-11e7-9d8d-8233a04a03a7.png) Then after compiling the component it looks like this: ![image](https://user-images.githubusercontent.com/870934/32052696-d6f3bc98-ba37-11e7-9ba7-cc142fa49665.png)

Do not use ZERO 👍 for ordering as a rule. So change 0 => 1, 1 => 2, 2 => 3 compile again.

Do not use ZERO :+1: for ordering as a rule. So change `0 => 1, 1 => 2, 2 => 3` compile again.
kevincam3 commented 2017-10-27 14:49:55 +00:00 (Migrated from github.com)

Ok, that worked. If we can't use ZERO can we just remove it for the list?

Ok, that worked. If we can't use ZERO can we just remove it for the list?

No :) since if the field is not part of the list view then it is zero, and since the order field is

<field 
	type="integer" 
	name="order_list" 
	label="Order in list views" 
	default="0" 
	description="Ordering in relation to list view of admin and site" 
	class="fieldSmall" 
	required="" 
	first="0" 
	last="20" 
	step="1" 
/>

We can not have any other value in there then integers, makes only sense to have 0.

No :) since if the field is not part of the list view then it is zero, and since the order field is ``` <field type="integer" name="order_list" label="Order in list views" default="0" description="Ordering in relation to list view of admin and site" class="fieldSmall" required="" first="0" last="20" step="1" /> ``` We can not have any other value in there then integers, makes only sense to have 0.
kevincam3 commented 2017-10-27 15:19:05 +00:00 (Migrated from github.com)

Got it.

Got it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#150
No description provided.