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 |
Jump to:
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
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
closing this due to lack of feedback.