Index: trunk/extensions/Wikidata/OmegaWiki/OmegaWikiRecordSets.php |
— | — | @@ -482,8 +482,8 @@ |
483 | 483 | } |
484 | 484 | |
485 | 485 | function expandOptionAttributeOptionsInRecordSet(RecordSet $recordSet, Attribute $attributeIdAttribute, ViewInformation $viewInformation) { |
486 | | - |
487 | 486 | $o=OmegaWikiAttributes::getInstance(); |
| 487 | + $recordSet->getStructure()->addAttribute($o->optionAttributeOptions); |
488 | 488 | |
489 | 489 | for ($i = 0; $i < $recordSet->getRecordCount(); $i++) { |
490 | 490 | $record = $recordSet->getRecord($i); |