Doing without an additional table?

ao2 - April 17, 2009 - 17:14
Project:Active Translation
Version:6.x-1.3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:by design
Description

Hi,

I see that you use an additional table to store the active translation.
I would like to ask if it would be easier with a simple and readable query like the one I propose in #429996: Content selection: request about mixed mode..

The ORDER BY CASE tecnique is very appropriate for the purpose.

Thanks for the module btw, take this issue more like a request for comments than an actual feature request.

Regards,
Antonio

#1

drewish - April 17, 2009 - 17:19
Status:active» postponed (maintainer needs more info)

The current approach was the best balance of efficiency and a simple rewriting of the query via hook_db_rewrite_sql(). If you'd like to take a crack at writing a patch for Active Translation that does it your way I'd be happy to review it.

#2

drewish - July 12, 2009 - 15:52
Status:postponed (maintainer needs more info)» by design

closing this due to lack of feedback.

 
 

Drupal is a registered trademark of Dries Buytaert.