alleyinteractive / alleyinteractive/elasticsearch-extensions

Taxonomy bucket parser assumes term field was 'term_slug'

オープン
#30 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
5
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

In these methods:

https://github.com/alleyinteractive/elasticsearch-extensions/blob/df182448bda51efbdc1438cdda3d1e9f6976d1f8/lib/aggregations/class-taxonomy.php#L87-L124

If `elasticsearch_extensions_aggregation_taxonomy_field` is filtered to another field, like `term_id`, then the term lookup in `parse_buckets()` will fail because `$bucket['key']` contains something other than a slug.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。