Skip to content

Commit

Permalink
Added some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperNinja-4965 committed Oct 28, 2020
1 parent c35dc7a commit 90d0cb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Search.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ func SearchForItemEverywhere(w http.ResponseWriter, r *http.Request, ItemToFind
var EndPageData string = "<br><h2 style=\"color:white;\"><a href=\"javascript:history.back()\">Back</a></h2></center>"

// Send the parsed html data to the user.
// This will not show the partial results or full results section if one is not needed. If no results are found then show the advanced search box and a message saying so.
if ResultsAll != "" && PartailResultsAll != "" {
p := PageStruct{Data: template.HTML(BeginningPageData + ResultsAll + EndPageData + "<br><br>" + BeginningPageDataPartialResults + PartailResultsAll + EndPageData), ProjectName: ProgramName}
t, _ := template.New("indexTemplate").Parse(PageIndex)
Expand Down

0 comments on commit 90d0cb5

Please sign in to comment.