Comments (7)
Ah ok thanks! As a workaround for now I created 2 separate template files with a language check.
from statamic-live-search.
I have not confirmed this error yet, but I guess the filtering for the actual selected site is missing:
https://github.com/jonassiewertsen/statamic-live-search/blob/main/src/Traits/SearchFacade.php#L12-L19
Personally, I have not used this search on a multisite yet.
from statamic-live-search.
did you figure this out yet? can i just add ->where('site', $request->get('locale', 'nl'))
to https://github.com/jonassiewertsen/statamic-live-search/blob/main/src/Traits/SearchFacade.php#L12-L19
from statamic-live-search.
I did not look into this anymore because the website was discontinued. Also did not found a permanent solution to this.
from statamic-live-search.
@jonassiewertsen could you please look into this
from statamic-live-search.
Version 1.5 does add support for multiple sites.
https://github.com/jonassiewertsen/statamic-live-search/releases/tag/v1.5.0
Thanks to @niekappartmedia
from statamic-live-search.
Version 1.5 does add support for multiple sites.
https://github.com/jonassiewertsen/statamic-live-search/releases/tag/v1.5.0
Thanks to @niekappartmedia
Nice! Thanks 😃
from statamic-live-search.
Related Issues (15)
- Search results do not contain all data
- Reset button HOT 1
- Error when searching with statamic page caching enabled HOT 1
- Add Statamic 3.3 support HOT 2
- Add Laravel 9 support HOT 2
- Undefined constant HOT 3
- Pagination possible? HOT 1
- Unable to upgrade to Statamic 4 HOT 2
- Can the requirement in composer.json be updated to support jonassiewertsen/statamic-livewire 3.0 HOT 2
- Livewire 3.0? HOT 3
- Blade compatibility? HOT 10
- Add better documentation for the usage with blade HOT 2
- How to get the no results found message and the empty message HOT 1
- Search results stop working when using defined locale's special characters HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from statamic-live-search.