diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2019-11-04 08:48:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-04 08:48:27 -0500 |
| commit | 90dfe729bb9f8929bf584b93f93aabd84abbef3d (patch) | |
| tree | d4cbe4786633f1f872511252979864e80dc9ab2c | |
| parent | 20727906c85c0d519eda86194b081a22f60dcf61 (diff) | |
Add space when building query string for attachments.
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
| -rw-r--r-- | Emby.Server.Implementations/Data/SqliteItemRepository.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs index 58f04e4fc..d02aa9b1f 100644 --- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs +++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs @@ -6161,7 +6161,7 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type if (query.Index.HasValue) { - cmdText += "AND AttachmentIndex=@AttachmentIndex"; + cmdText += " AND AttachmentIndex=@AttachmentIndex"; } cmdText += " order by AttachmentIndex ASC"; |
