Admin View - Order override problem #88

Closed
opened 2017-05-29 03:34:17 +00:00 by JohnnyMcWeed · 3 comments
JohnnyMcWeed commented 2017-05-29 03:34:17 +00:00 (Migrated from github.com)

Reproduce

  • Making some admin views
  • Adding them to a component
  • Change its order (last column)

Should override the the default order I think, but is not taken into account.

Reproduce - Making some admin views - Adding them to a component - Change its order (last column) Should override the the default order I think, but is not taken into account.
JohnnyMcWeed commented 2017-05-29 06:04:30 +00:00 (Migrated from github.com)

Order on overview from top to bottom (as you can't see the name): zoo - elephant - datasheet

adm
adm2
adm3

Order on overview from top to bottom (as you can't see the name): zoo - elephant - datasheet ![adm](https://cloud.githubusercontent.com/assets/9844452/26538190/2887858a-4445-11e7-9999-dc104467af20.png) ![adm2](https://cloud.githubusercontent.com/assets/9844452/26538191/288908a6-4445-11e7-97cf-b1f4c017491f.png) ![adm3](https://cloud.githubusercontent.com/assets/9844452/26538192/28891274-4445-11e7-8577-f1fd0520073d.png)

Okay you will need to update the admin-view system name to reflect the correct name in the dropdown. You will also then be able to better manage the order 👍

Then you will see Joomla has a glitch when you open the modal some of the radio buttons are not selected, just close the modal and open it a second time. This is a Javascript issue that I have not had the time to report to the Joomla team... but this is a work around.

So you basically open the modal of the repeatable field twice to insure it loads the data as stored in database.

The order works this I am sure of since I have many components and it gets ordered correctly in all of them.

Okay you will need to update the admin-view __system name__ to reflect the correct name in the dropdown. You will also then be able to better manage the order :+1: Then you will see Joomla has a glitch when you open the modal some of the radio buttons are not selected, just close the modal and open it a second time. This is a Javascript issue that I have not had the time to report to the Joomla team... but this is a work around. So you basically open the modal of the repeatable field twice to insure it loads the data as stored in database. The order works this I am sure of since I have many components and it gets ordered correctly in all of them.
JohnnyMcWeed commented 2017-05-29 10:42:46 +00:00 (Migrated from github.com)

Ok, the problem here was the same as for #89 - caused by starting with number 0 it couldn't put it in the right order.
( Can be closed )

Ok, the problem here was the same as for #89 - caused by starting with number 0 it couldn't put it in the right order. ( Can be closed )
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#88
No description provided.