Skip to content

Commit 4023715

Browse files
committed
chore: Add workflow to trigger deployment
2 parents a593c4d + 1afd2ad commit 4023715

File tree

15 files changed

+622
-505
lines changed

15 files changed

+622
-505
lines changed

.github/pull_request_template.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,27 @@
22

33
## Description
44

5-
Please include a succinct summary of the change and which issue is fixed or which feature is introduced.
5+
Please include a succinct summary of the change and which issue is fixed or which feature is introduced.
66

77
Please also include relevant motivation and context if possible.
88

99
Closes # (issue) if applicable.
1010

11-
## Type of change
11+
## Related Issue
12+
13+
Link to the related issue: [Issue #](URL)
14+
15+
You can remove this section if not applicable.
16+
17+
## Type of Change
1218

1319
Please delete options that are not relevant to this PR.
1420

1521
- [ ] Bug fix (non-breaking change which fixes an issue)
1622
- [ ] New feature (non-breaking change which adds functionality)
1723
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
24+
- [ ] Style change (non-breaking change which updates the styling of the UI)
25+
- [ ] Locale/Language change (updates or additions to language files or available languages)
1826

1927
## How Has This Been Tested?
2028

@@ -25,12 +33,13 @@ Please delete options that are not relevant to this PR.
2533

2634
- [ ] I have performed a self-review of my own code
2735
- [ ] My changes do not introduce any new warnings or errors
28-
- [ ] I have added tests that prove my fix is effective or that my feature works
36+
- [ ] I have added tests that prove my fix is effective or that my feature works (where applicable)
2937
- [ ] New and existing tests pass locally with my changes
30-
- [ ] I have used translation helpers and provided translations (where appropriate)
38+
- [ ] I have used translation helpers and provided translations (where applicable)
39+
- [ ] I have run code quality tools (e.g., linters) and addressed any issues
3140

3241
## Screenshots (if applicable):
3342

34-
## Additional context
43+
## Additional Context
3544

36-
Add any other context or screenshots about the pull request here. Can remove this section if not necessary.
45+
Add any other context or screenshots about the pull request here. You can remove this section if not necessary.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.10.0
1+
1.10.2

app/Livewire/BackupTasks/Tables/IndexTable.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,17 @@ private function getFilteredQuery(): Builder
9999
}
100100

101101
if ($this->search !== '') {
102-
$query->where('label', 'like', "%{$this->search}%");
102+
$connection = config('database.default');
103+
$driver = config("database.connections.{$connection}.driver");
104+
105+
if ($driver === 'pgsql') {
106+
// Use ilike for PostgreSQL to make the search case-insensitive
107+
$query->where('label', 'ilike', "%{$this->search}%");
108+
} else {
109+
// TODO: Investigate approaches like 'ilike' in other engines to improve the experience.
110+
// Use like for other database engines
111+
$query->where('label', 'like', "%{$this->search}%");
112+
}
103113
}
104114

105115
return $query->orderByRaw('favourited_at IS NULL')

0 commit comments

Comments
 (0)