[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: UMOs with multiple versions
Hahaha. I came up with another question.
What does the latest available version means in context of 'Find' ?
- latest available version of this UMO: We find the UMO version, and
return latest available version for this UMO's base ignoring find criterias.
- latest available version of this UMO matching the find criterias: We
find the latest available UMO version for the same UMO's base looking only
in matching records.
The implementations are totally different. I'm afraid we need the second one
that is a real PITA. And, it's applicable for all three flags we are trying
to add.
2009/1/7 Alexey Parshin <alexeyp@gmail.com>
> Ok. What is better: to have latest editable or all editable versions?
> (Second is simpler to implement)
>
> 2009/1/7 Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>
>
>> You can make it into a separate procedure, to avoid clogging
>>
>> the original one. I still think we do need procedure like that.
>>
>> Alexey Parshin wrote:
>> > Hmm. It looks like adding latest editable unpublished is making the
>> > whole thing pretty slow. For two others, we already have shortcuts in
>> > umo_base. But the latest editable depends on ACL and I can't add a
>> > shortcut, so the query has to walk through results. Do we really need
>> it?
>> >
>>
>> --
>> Ilya A. Volynets-Evenbakh
>> http://www.total-knowledge.com
>>
>>
>
>
> --
> Alexey Parshin,
> http://www.sptk.net
>
--
Alexey Parshin,
http://www.sptk.net