{"id":19473364,"url":"https://github.com/ethercreative/w8","last_synced_at":"2025-09-03T08:08:08.353Z","repository":{"id":90069260,"uuid":"81559375","full_name":"ethercreative/w8","owner":"ethercreative","description":"Sort entries by category and weight","archived":false,"fork":false,"pushed_at":"2017-02-10T15:04:00.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-29T08:39:32.221Z","etag":null,"topics":["craft-plugin","craftcms","craftcms-plugin","craftcommerce","sorting","sorting-algorithms","wip"],"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/ethercreative.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-10T11:32:41.000Z","updated_at":"2023-12-23T05:20:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"852b8185-4ddf-4b72-a29e-02901975ae0e","html_url":"https://github.com/ethercreative/w8","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ethercreative/w8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercreative%2Fw8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercreative%2Fw8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercreative%2Fw8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercreative%2Fw8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethercreative","download_url":"https://codeload.github.com/ethercreative/w8/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethercreative%2Fw8/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273410256,"owners_count":25100455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"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":["craft-plugin","craftcms","craftcms-plugin","craftcommerce","sorting","sorting-algorithms","wip"],"created_at":"2024-11-10T19:18:18.802Z","updated_at":"2025-09-03T08:08:08.319Z","avatar_url":"https://github.com/ethercreative.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# W8\nSort entries and products by category and weight\n\n**[WIP] Not production ready**\n\n## Usage\n\n```twig\n\n{# Sort by element weight #}\n{% set entries = craft.entries.section('news').order('w8') %}\n{# or #}\n{% set entries = craft.entries.section('news').order('w8|self') %}\n\n{# Sort by category field #}\n{% set entries = craft.entries.section('news').order('w8|categoryField') %}\n\n{# Sort by multiple #}\n{% set entries = craft.entries.section('news').order('w8|self|categoryField|otherCategoryField') %}\n\n{# Sort by category field and specify max level/depth #}\n{% set entries = craft.entries.section('news').order('w8|categoryField:2') %}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethercreative%2Fw8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethercreative%2Fw8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethercreative%2Fw8/lists"}