Hello all, Quite a while ago there was some discussion about making parseArgsEx work for parsing dates without splitting it up. For example, you have a search 'test' which takes a date as a parameter and the site only takes n/n/n as an acceptable format. Since parseArgsEx splits on EVERY "/" it fails horribly on this method. The fix:
Open defer_tools.js and scroll down to line ~254 (there may be other differences between our two scripts, so I don't want to promise it's the right line). You should be within the 'parseArgsEx' function. Look for this line: var args_array = q.split('/'); Replace it with this line: var args_array = (" "+q).split(" /"); Reload (!) DQSD. Test it out. Please let me know if your results are as happy as mine. :) ******************* ***** WARNING ***** ******************* WARNING: This WILL affect all searches that use parseArgsEx for parsing (which, in MY mind, is a good thing - but that means it wil affect ALL those searches. A quick search returned NO searches in the primary distribution that rely on parseArgsEx - but your actual mileage may vary). Since I'm probably one of the very few people that actually use parseArgsEx, and I don't see any searches that rely on it's *current* function (split on "/" instead of " /"), is there any objection to committing this change in CVS? Regards, Shawn K. Hall http://ReliableAnswers.com/ '// ======================================================== "A man is the sum of his actions, of what he has done, of what he can do, nothing else." -- Andre Malraux, French novelist, archaeologist, art theorist, political activist, and public official ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id=8601