Skip to content

Commit

Permalink
Merge pull request #373 from zimplerapps/features/add-title-to-search
Browse files Browse the repository at this point in the history
Add title search to CuratorPanel
  • Loading branch information
awcodes authored Dec 9, 2023
2 parents d030db8 + 48d4479 commit ca79b0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Components/Modals/CuratorPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ public function updatedSearch(): void
return $query->where('directory', $this->directory);
})
->where('name', 'like', '%' . $this->search . '%')
->orWhere('title', 'like', '%' . $this->search . '%')
->orWhere('alt', 'like', '%' . $this->search . '%')
->orWhere('caption', 'like', '%' . $this->search . '%')
->orWhere('description', 'like', '%' . $this->search . '%')
Expand Down

0 comments on commit ca79b0a

Please sign in to comment.