mirror of
https://github.com/stashapp/stash.git
synced 2026-01-06 07:38:49 +01:00
Fix performer search columns (#1236)
* Fix performer search columns * Update changelog * Move changelog to new version Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
parent
d30a68567e
commit
7acae34ed4
4 changed files with 15 additions and 3 deletions
|
|
@ -192,7 +192,7 @@ func (qb *performerQueryBuilder) Query(performerFilter *models.PerformerFilterTy
|
|||
`
|
||||
|
||||
if q := findFilter.Q; q != nil && *q != "" {
|
||||
searchColumns := []string{"performers.name", "performers.checksum", "performers.birthdate", "performers.ethnicity"}
|
||||
searchColumns := []string{"performers.name", "performers.aliases"}
|
||||
clause, thisArgs := getSearchBinding(searchColumns, *q, false)
|
||||
query.addWhere(clause)
|
||||
query.addArg(thisArgs...)
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import V030 from "./versions/v030.md";
|
|||
import V040 from "./versions/v040.md";
|
||||
import V050 from "./versions/v050.md";
|
||||
import V060 from "./versions/v060.md";
|
||||
import V070 from "./versions/v070.md";
|
||||
import { MarkdownPage } from "../Shared/MarkdownPage";
|
||||
|
||||
const Changelog: React.FC = () => {
|
||||
|
|
@ -38,11 +39,20 @@ const Changelog: React.FC = () => {
|
|||
<>
|
||||
<h1 className="mb-4">Changelog:</h1>
|
||||
<Version
|
||||
version={stashVersion || "v0.6.0"}
|
||||
version={stashVersion || "v0.7.0"}
|
||||
date={buildDate}
|
||||
openState={openState}
|
||||
setOpenState={setVersionOpenState}
|
||||
defaultOpen
|
||||
>
|
||||
<MarkdownPage page={V070} />
|
||||
</Version>
|
||||
<Version
|
||||
version="v0.6.0"
|
||||
date="2021-03-29"
|
||||
openState={openState}
|
||||
setOpenState={setVersionOpenState}
|
||||
defaultOpen
|
||||
>
|
||||
<MarkdownPage page={V060} />
|
||||
</Version>
|
||||
|
|
|
|||
|
|
@ -28,4 +28,4 @@
|
|||
* Fix SQL error when filtering galleries excluding performers or tags.
|
||||
* Fix version checking for armv7 and arm64.
|
||||
* Change "Is NULL" filter to include empty string values.
|
||||
* Prevent scene card previews playing in full-screen on iOS devices.
|
||||
* Prevent scene card previews playing in full-screen on iOS devices.
|
||||
2
ui/v2.5/src/components/Changelog/versions/v070.md
Normal file
2
ui/v2.5/src/components/Changelog/versions/v070.md
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
### 🎨 Improvements
|
||||
* Change performer text query to search by name and alias only.
|
||||
Loading…
Reference in a new issue