mariovaldez.net
http://www.mariovaldez.net/webapps/forums/

Wrong Document Order
http://www.mariovaldez.net/webapps/forums/viewtopic.php?f=3&t=49
Page 1 of 1

Author:  Guest [ 21 Jul 2003, 16:55 ]
Post subject:  Wrong Document Order

I have a two level document structure:

ROOT/FATHER1/SON1

ROOT/FATHER2/SON2

I've wrotten a #INDEX# into FATHER's text, so i get a list of SON's.

If i CHECK (in the SON1 or SON2) the IMPORTANT box then the if you click the FATER, the docuent DOES NOT is present under the FATHER (like before).
If i un-check then everithing goes fine again.


If i CHECK (in the FATHER1 or FATHER2) the i get the FATHER out of order but the SONs list (when you click that FATHER) works right.

I think it's an issue with the new checkbos option.

Any patch?

Author:  iPsymon [ 23 Jul 2003, 16:46 ]
Post subject:  Special Announcements

Please read this thread, is this the same issue you are referring too?
http://www.mariovaldez.net/webapps/forums/viewtopic.php?t=37

Author:  mvaldez [ 28 Jul 2003, 12:21 ]
Post subject:  Wrong Document Order, Special Announcements

Hi Guest user, hi Psymon:

I've fixed this in the 0.6.0beta10 now available. However, if you just want a quick patch, do this:

Edit the cm/cm_lib.inc.php file, go to line 803 and change the SQL query as follow...

change this segment:
Code:
...where cmdb_parentdir like '$cm_currentpath/%'...


to this:
Code:
...where cmdb_parentdir like '$cm_currentpath%'...


Note that it is only one character (the slash).

Regards,

Mario A. Valdez-Ramirez.

Author:  tn [ 19 Feb 2005, 10:26 ]
Post subject: 

This error also seems to appear on line 947 of cm_lib.inc.php

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/