File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
java/ru/mystamps/web/controller
webapp/WEB-INF/views/site Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ public String processAskForm(
376
376
return redirectTo (Url .INFO_SERIES_PAGE , series .getId ());
377
377
}
378
378
379
- @ PostMapping (Url .SEARCH_SERIES_BY_CATALOG )
379
+ @ GetMapping (Url .SEARCH_SERIES_BY_CATALOG )
380
380
public String searchSeriesByCatalog (
381
381
@ RequestParam ("catalogNumber" ) String catalogNumber ,
382
382
@ RequestParam ("catalogName" ) String catalogName ,
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ <h4 class="panel-title" th:text="#{t_in_db}">In our database</h4>
249
249
< h4 class ="panel-title " th:text ="#{t_search_by_catalog} "> Search by catalog</ h4 >
250
250
</ div >
251
251
< div class ="panel-body ">
252
- < form method ="post " action ="../series/search_result.html " th:action ="@{${SEARCH_SERIES_BY_CATALOG}} ">
252
+ < form method ="get " action ="../series/search_result.html " th:action ="@{${SEARCH_SERIES_BY_CATALOG}} ">
253
253
< div class ="form-group " th:classappend ="${numberIsEmpty != null ? 'has-error' : ''} ">
254
254
< label for ="catalogNumber " th:text ="|#{t_number}:| "> Number:</ label >
255
255
< input id ="catalogNumber " name ="catalogNumber " type ="search " class ="form-control "
You can’t perform that action at this time.
0 commit comments