File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
console/src/modules/content/subject
server/src/main/java/run/ikaros/server/core/attachment/listener Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
更新日志文档,版本顺序从新到旧,最新版本在最前(上)面。
4
4
5
+ # 0.12.6
6
+
7
+ ## 问题修复
8
+
9
+ - 修复剧集附件匹配时,字幕文件匹配不到。
10
+ - 修复批量移除绑定失效
11
+
5
12
# 0.12.5
6
13
7
14
## 插件
Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ const deleteBatchingAttachments = async () => {
545
545
ElMessage .success (
546
546
t (' module.subject.details.message.operate.delete-batch-attachments.success' )
547
547
);
548
- window . location . reload ();
548
+ fetchDatas ();
549
549
};
550
550
551
551
const isEpisodeBindResource = (episode : Episode ): boolean | undefined => {
Original file line number Diff line number Diff line change 1
- version =0.12.5
1
+ version =0.12.6
Original file line number Diff line number Diff line change 13
13
import run .ikaros .api .store .enums .AttachmentRelationType ;
14
14
import run .ikaros .server .core .attachment .event .AttachmentReferenceSaveEvent ;
15
15
import run .ikaros .server .core .attachment .event .EpisodeAttachmentUpdateEvent ;
16
- import run .ikaros .server .infra .utils .SqlUtils ;
17
16
import run .ikaros .server .store .entity .AttachmentEntity ;
18
17
import run .ikaros .server .store .entity .AttachmentReferenceEntity ;
19
18
import run .ikaros .server .store .entity .AttachmentRelationEntity ;
@@ -88,7 +87,7 @@ private Flux<VideoSubtitle> findAllAttachmentSubtitles(AttachmentEntity attachme
88
87
String postfix = FileUtils .parseFilePostfix (attachmentName );
89
88
attachmentName = attachmentName .substring (0 , attachmentName .indexOf (postfix ));
90
89
return attachmentRepository .findAllByTypeAndNameLike (File ,
91
- SqlUtils . escapeLikeSpecialChars ( attachmentName ) + "%" )
90
+ attachmentName + "%" )
92
91
.filter (entity -> entity .getName ().endsWith ("ass" ))
93
92
.map (entity -> VideoSubtitle .builder ()
94
93
.masterAttachmentId (attachmentEntity .getId ())
You can’t perform that action at this time.
0 commit comments