Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Foreign Key ordering not functioning 27 Mar 2014 13:54 #12364

I'm attempting to order items in Table 1 based on a foreign key in Table 2, which is a field selected in the items in Table 1.

The items appear to move around fine, and the database is being updated with new ordering, but refreshing the page in the backend is reordering the items again without the user moving them around. I'm not sure, but it seems like it's automatically reordering the database on page refresh based on some other sort of sorting, but I'm not sure why.

Any ideas if this is a bug? I'm fairly sure this is set up correctly in my project.

- Andrew

Please Log in or Create an account to join the conversation.

Foreign Key ordering not functioning 28 Mar 2014 12:51 #12373

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Did you setted this FK as group in the ordering wizard ?

Because this could be your problem.
When you define a group, it separate the items in differents ordering groups.

Are the items correctly ordered within the same FK value ?
Can you provide the PTL ? (Project Table Layout), so I can check manually ...
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.051 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started