Hi
Currently we are using this module in our site and the result turn out is great!
However, our site is a multilangual site, but in the block list, all the search result from different language will be shown up in the list.
Here we would like to request a support for multilangual. Thank you.
To be honestly, if we made views support for this, the multilangual support will be solved easily.
http://drupal.org/node/1733438
Thanks for your attention.
and if possible, I will make patch for this as soon as I can.
Also if you can add me as a maintainer for this module, it will be better:). thanks again.
Comments
Comment #1
zterry95 commentedmake a patch for this for search_api_stats core.
and seems another patch for search_api_stats_block is necessary.
If views support has finished, this will be enough.
Comment #2
zterry95 commentedPls discard the patch above and use this one.
some changes:
1: use db_insert instead of drupal_write_record
as db_insert is a better drupal 7 sql standard.
2: add validate for keywords.
sometimes, empty value will insert into database.
and when we render keywords in hook_block_view, the empty value will render accordingly and this useless, and will break the format.
3: add a new database column "language",
the value of language will be
Hopefully, I want to this patch will be passed. as it is helpful for multilangual site.
Thanks for your attention again.
Comment #3
zterry95 commentedhere is the patch for search_api_stats_block.
so totally,
search_api_stats-multilangual-support-1930930-1.patch
search_api_stats_block-multilangual-support-1930930-1.patch
these 2 patches will make the multilangual support perfect. I have tested it and apply these patch to our site.
Comment #4
zterry95 commentedMay you pls check on this?
Or you can add me as co-maintainer, I can push this.
Thanks for your attention.
Comment #5
zterry95 commentedFix in commit ba905ad