protonemedia / laravel-cross-eloquent-search

Laravel package to search through multiple Eloquent models. Supports sorting, pagination, scoped queries, eager load relationships and searching through single or multiple columns.
https://protone.media/blog/search-through-multiple-eloquent-models-with-our-latest-laravel-package
MIT License
1.09k stars 80 forks source link

[3.x] Check whether timestamps are used #44

Closed pascalbaljet closed 2 years ago

pascalbaljet commented 2 years ago

Added a fallback to the primary key when no timestamps are used. Fixes #39.