awcodes / overlook

An app overview widget for Filament panels.
MIT License
163 stars 11 forks source link

use `getEloquentQuery()` instead of `getModel()` #10

Closed Saifallak closed 1 year ago

Saifallak commented 1 year ago

Why?!

because we always override getElqounetQuery to customize data.

Usage

to use it before it gets merged

        "awcodes/overlook": "dev-patch-1",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/Saifallak/overlook.git"
        }
    ],
awcodes commented 1 year ago

Can you give me a use case for this? The query or scope doesn't seem relevant to me as to the count of the records in the database for this context.

Saifallak commented 1 year ago

Examples

awcodes commented 1 year ago

Thanks.