Skip to content

Commit 57d22e7

Browse files
committed
task: add CTO to a list of possible series conditions.
Part of #1326
1 parent 7f3257e commit 57d22e7

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/main/java/ru/mystamps/web/feature/series/importing/SeriesInfoExtractorServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ public SeriesExtractedInfo extract(String pageUrl, RawParsedDataDto data) {
515515
);
516516
for (String candidate : candidates) {
517517
switch(candidate) {
518+
case "CTO":
518519
case "MNH":
519520
case "MNHOG":
520521
case "MVLH":

src/main/java/ru/mystamps/web/feature/series/sale/SeriesCondition.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ public enum SeriesCondition {
2222
MNH,
2323
MNHOG,
2424
MVLH,
25+
CTO,
2526
CANCELLED;
2627
}

src/main/webapp/WEB-INF/views/series/info.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,7 @@ <h5 th:text="#{t_add_info_who_selling_series}">Add info about selling/buying thi
776776
<option value="MNH">MNH</option>
777777
<option value="MNHOG">MNHOG</option>
778778
<option value="MVLH">MVLH</option>
779+
<option value="CTO">CTO</option>
779780
<option value="CANCELLED" th:text="#{t_cancelled}">Сancelled</option>
780781
</select>
781782
<!--/*/

0 commit comments

Comments
 (0)