[eluser]vijinho[/eluser]
hi.
these are hacks really and perhaps not really optimal, but they did the job. i've been a bit pressed for time to present neat diffs against the latest sourcecode like i have done in the past working with f/oss projects.
using empty() has been a habit of mine for a long time as it's pretty consistent in its results - i basically just wanted to make sure that nothing important, as in empty values, false, empty quotes, 0 got processed and prevented any unexpected results.
the indexfield will overwrite the values but only if the index field is repeated and/or you're not using SELECT DISTINCT
i'm using a primary key for the indexfield where i specify it. if i dont specify any params the default behaviour is the same as for the standard codeigniter version - it returns everything, repeated or not
thanks for the feedback
vijay