The WorksForWeb Community Forums
Welcome to the WorksForWeb community forums. Here you can discuss WorksForWeb products with others and contribute to the rapidly growing WorksForWeb community. Please note that while WorksForWeb staff try to maintain presence on the forums, this is not the most reliable way to contact WorksForWeb staff. In case you require a timely response from WorksForWeb on an issue, please open a support ticket here. For pre-sales questions, please open a sales ticket here.

Welcome, Guest. Please login or register.
May 21, 2012, 09:01:23 PM

Login with username, password and session length
Search:     Advanced search
Added the iLister-related Boards

Rate My Site Boards Added

Merged iAuto and iRealty Support Forums together

Several new tips in the Tips and Tricks section
1,604 Posts in 625 Topics by 1,179 Members
Latest Member: bobsteam
* Home Help Search Login Register
+  The iAuto/iRealty/iLister Support Forum
|-+  iAuto and iRealty v.2.x - 3.x
| |-+  General iAuto Discussions
| | |-+  Adding a new Model is sorted incorrectly in Treelist
« previous next »
Pages: [1] Print
Author Topic: Adding a new Model is sorted incorrectly in Treelist  (Read 1890 times)
highnote
Newbie
*

Karma: 1
Posts: 38


View Profile
« on: August 01, 2007, 03:58:51 AM »

Volkswagen is coming out with a new model for 2008 called Neeza.  I added this model to the Volkswagen Make in the Make/Model Tree List Edit screen and then moved it just above the Passat so that the selection would be in alphabetical order for the seller to easily find.  However, the treelist pull-down (when adding a listing) still has it at the bottom of the list as it seems to be sorting on the ID rather than the order specified in the "Edit Tree" menu in the Admin Console.  The Tree List is correctly ordered when doing a search.  The problem only exists when adding or editing a listing as the owner.

If anyone is so inclined, please duplicate this issue and post your results.
Thanks and regards,
Lou
« Last Edit: August 01, 2007, 09:41:06 AM by highnote » Logged
Rodion
Guest
« Reply #1 on: August 10, 2007, 12:24:06 PM »

highnote ,
I've reproduce this issue. We'll fix it in a few day and make the patch.
Logged
makr1
Newbie
*

Karma: 0
Posts: 14


View Profile
« Reply #2 on: August 15, 2007, 03:29:41 AM »

Hello, i also had this problem too, looking forward to a patch.
Is there any way when adding a new Make or Model it will automatically be place in alphabetical order, because using the up and down arrows take extremely long especially for moving a new Make up the whole list?
Logged
Rodion
Guest
« Reply #3 on: August 15, 2007, 11:57:09 AM »

makr1 ,
Yes, you're right it's not really easy to manage tree values. We'll try to improve tree type interface in the new version.
Logged
Rodion
Guest
« Reply #4 on: August 15, 2007, 02:30:05 PM »

The patch for incorrect sorting of tree values is ready and could be found here: http://forum.iautosoftware.com/index.php/topic,233.0.html
Logged
highnote
Newbie
*

Karma: 1
Posts: 38


View Profile
« Reply #5 on: August 15, 2007, 07:45:56 PM »

The functionality is now fixed for add/edit record, however, the order is now incorrect for the search menu.

In the function requesthtml_treelist_list(), the ORDER BY statement was taken out of the line in this patch.  I presume this is why the ordering is now incorrect for the search menus.   It should be put back in for the treelist to be correctly ordered.  (In exactly the same way the add/edit record was fixed in the function inputhtml_treelist_list().)

$sql = "SELECT * FROM `".$column['column']."` ORDER BY `order`";

I changed this line and the ordering is now correct in my configuration.  Please see the attachment for the updated file.

Rodion,
Please verify if what I suspect is true and ensure this gets integrated back into the main code stream for future releases.
Thanks,
Lou
« Last Edit: August 15, 2007, 07:53:20 PM by highnote » Logged
Rodion
Guest
« Reply #6 on: August 17, 2007, 05:42:35 PM »

highnote ,
the changes you've made seems to be correct.

We've also fixed this bug in searched form in our patch.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Classified Software by Worksforweb Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!