Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] ORDERING V2.0 : Item not inherit order field value

[FIXED] ORDERING V2.0 : Item not inherit order field value 12 Oct 2012 11:05 #4429

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Hi @admin,

Been following up and testing ordering wizard relating to @mfr75 's post and discovered that part of his problem with the wizard is that he was using COOK 1.5 and not 2.0. However, during testing, I did come across an issue with editing a record's ordering field.

Setup
  • FF Version: 15.0.1 (Although it has just found an update of some sort)
  • OS: MacOSX 10.6.8 (Snow Leopard)
  • Joomla Version: 2.5
  • Environment: Sandbox
  • Cook Version: 2.0
  • JS: JQuery
  • Form Style: Condensed
  • Features: Maximum
  • ToDo: No
  • DB Automation: Model
  • Timeout: 20 secs
Symptoms

  1. When I edit an item, the ordering field value is always pre-populated with the option Order First and is therefore always set to 0 upon save unless changed. It does not keep the value of the ordering field from the grid view.
  2. Options: Here are the options I'm seeing in the ordering combo;
    • Order First
    • --1 ()
    • --2 ()
    • --3 ()
    • Order Last
    Shouldn't the options (--1 (), --2() & --3 ()) utilise the row's title or another field inside of the brackets like --1 (Item 1's Title)? Could a parameter be added to choose this in the field, view and/or layout?[/color]
  3. Should ordering fields allow you to enter any integer value? Currently, they only allow values between 1 and the number of items which is what I personally prefer however, in most Joomla uses of ordering I can think of, plugins for instance, one can set 10000 even if there are only 100 records???

    Like I said, I prefer the way it works now but I guess some developers might want to allow their users the ability to set a much higher value to ensure it always comes last.

    Contrary to the behaviour of positive integers, negative integers seem to work out of the range (count of values) in that, in a table with 3 items, I can set one of them to -100 in the grid view however values 2 and 3 keep their ordering values as 1 and 2.
Many thanks,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
Last Edit: 16 Oct 2012 10:40 by admin.
The administrator has disabled public write access.

Re: ORDERING V2.0 : Item not inherit order field value 16 Oct 2012 15:14 #4571

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: JoomGuy
Time to create page: 0.064 seconds

Get Started