Download & Extend

Category select box currently not language-aware

Project:FAQ_Ask
Version:6.x-1.2
Component:Code
Category:feature request
Priority:normal
Assigned:NancyDru
Status:closed (fixed)

Issue Summary

When having a FAQ vocabulary with i18n-translated terms, all terms appear in the category select box - regardless of their language.

Quick fix, faq_ask.module:line 188:

<?php
$cat_list
= array_flip(db_result_array(db_query('SELECT DISTINCT(name), e.tid FROM {faq_expert} e JOIN {term_data} t USING (tid) WHERE t.language="'.i18n_get_lang().'"')));
?>

Comments

#1

Status:active» postponed (maintainer needs more info)

And what about users who aren't using i18n?

#2

Assigned to:Anonymous» NancyDru
Status:postponed (maintainer needs more info)» fixed

I committed a change to that query that should allow i18ntaxonomy to intercede in the query. Please let me know.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

#4

Version:5.x-1.3» 6.x-1.2

I still have these issue on the 6.X-1.2 version, in the page FAQ_ASK and also the block FAQ_ASK.
The fix you did for 5.x-1.3 is still included ?

#5

Status:closed (fixed)» active

I still have these issue on the 6.X-1.2 version, in the page FAQ_ASK and also the block FAQ_ASK.
The fix you did for 5.x-1.3 is still included ?

#6

Please try the version 2 code.

#7

thanks for your answer, I will try it.

#8

Status:active» fixed

No activity for more than a year. Assuming this is fixed. Feel free to reopen if not.

#9

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.