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.113 seconds

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started