Created a vocabulary with terms:

'Land degradation'
'Biofortification'
'Nutrition'
'Infrastructure'
'Trade policy'
'Climate change'
'Markets'
'Food Policy'
'Smallholder farmers'
'Irrigation'
'Resource management'
'Evaluations/Measures'
'Rankings'
'Agriculture'
'Biotech/GM'
'Crops'
'Institutions'
'Governance'
'Gender'
'Health'
'Poverty reduction'
'Malnutrition'
'Technology'
'Water'
'Livestock'
'Food Prices'
'Aid'
'Food'
'Regions/Developing World'

copy and pasted the terms into a text as such:

Land degradation Biofortification Nutrition Infrastructure Trade policy Climate change Markets Food Policy Smallholder farmers Irrigation Resource management Evaluations/Measures Rankings Agriculture Biotech/GM Crops Institutions Governance Gender Health Poverty reduction Malnutrition Technology Water Livestock Food Prices Aid Food Regions/Developing World

Food in food policy was linked to "Food", food was not linked (with match first only), and food prices was not linked to.

CommentFileSizeAuthor
#1 2353109-glossify-missed-terms-1.patch724 byteshefox
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hefox’s picture

Status: Active » Needs review
FileSize
724 bytes

Ordering terms by term name legnth DESC fixes it, since the longer terms are matched first.

WorldFallz’s picture

brilliant fix for this! Thanks for the patch( and the other patch), I'll give them a test spin and commit asap.

  • WorldFallz committed a7de306 on 7.x-4.x authored by hefox
    Issue #2353109 by hefox: Fixed Terms that have first term as a term by...
WorldFallz’s picture

committed to dev. Thanks!

WorldFallz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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