{"id":34014405,"url":"https://github.com/rootindex/module-multiselect-attribute-fix","last_synced_at":"2026-05-30T17:31:51.635Z","repository":{"id":56956462,"uuid":"91800430","full_name":"rootindex/module-multiselect-attribute-fix","owner":"rootindex","description":"Magento Multi-select Attribute Indexing Fix","archived":false,"fork":false,"pushed_at":"2017-05-19T11:51:28.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-15T02:19:20.872Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rootindex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-19T11:45:12.000Z","updated_at":"2017-05-19T11:51:23.000Z","dependencies_parsed_at":"2022-08-21T04:40:24.997Z","dependency_job_id":null,"html_url":"https://github.com/rootindex/module-multiselect-attribute-fix","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rootindex/module-multiselect-attribute-fix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootindex%2Fmodule-multiselect-attribute-fix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootindex%2Fmodule-multiselect-attribute-fix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootindex%2Fmodule-multiselect-attribute-fix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootindex%2Fmodule-multiselect-attribute-fix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootindex","download_url":"https://codeload.github.com/rootindex/module-multiselect-attribute-fix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootindex%2Fmodule-multiselect-attribute-fix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33703065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-13T13:59:19.813Z","updated_at":"2026-05-30T17:31:51.631Z","avatar_url":"https://github.com/rootindex.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento Multi-select Attribute Indexing Fix\n\nPlease note when you run a custom attribute of multiselect \u0026 text to be saved on the flat table:\n\nYou have to tell the indexer about the flat table column.\n\n```php\n\npublic function getFlatColums()\n    {\n        $attributeCode = $this-\u003egetAttribute()-\u003egetAttributeCode();\n        $column = array(\n            'default'   =\u003e null,\n            'extra'     =\u003e null\n        );\n        if (Mage::helper('core')-\u003euseDbCompatibleMode()) {\n            $column['type']     = 'varchar(255)';\n            $column['is_null']  = true;\n        } else {\n            $column['type']     = Varien_Db_Ddl_Table::TYPE_VARCHAR;\n            $column['nullable'] = true;\n            $column['comment']  = $attributeCode . ' column';\n        }\n        return array($attributeCode =\u003e $column);\n    }\n    \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootindex%2Fmodule-multiselect-attribute-fix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootindex%2Fmodule-multiselect-attribute-fix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootindex%2Fmodule-multiselect-attribute-fix/lists"}