Skip to content

Commit 4e9e687

Browse files
committed
task: add MNHOG to a list of possible series conditions.
Part of #1326
1 parent 5a56e2a commit 4e9e687

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

+1
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ public SeriesExtractedInfo extract(String pageUrl, RawParsedDataDto data) {
512512
for (String candidate : candidates) {
513513
switch(candidate) {
514514
case "MNH":
515+
case "MNHOG":
515516
case "MVLH":
516517
SeriesCondition condition = SeriesCondition.valueOf(candidate);
517518
log.debug("Condition is {}", condition);

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

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
public enum SeriesCondition {
2222
MNH,
23+
MNHOG,
2324
MVLH,
2425
CANCELLED;
2526
}

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

+1
Original file line numberDiff line numberDiff line change
@@ -774,6 +774,7 @@ <h5 th:text="#{t_add_info_who_selling_series}">Add info about selling/buying thi
774774
<select id="condition" class="form-control" th:field="*{condition}">
775775
<option value=""></option>
776776
<option value="MNH">MNH</option>
777+
<option value="MNHOG">MNHOG</option>
777778
<option value="MVLH">MVLH</option>
778779
<option value="CANCELLED" th:text="#{t_cancelled}">Сancelled</option>
779780
</select>

0 commit comments

Comments
 (0)