Commit 73ad5a53 authored by Savorboard's avatar Savorboard

fixed query bug.

parent 3b526578
......@@ -94,7 +94,7 @@ _options.Schema);
{
where += " and name=@Name";
}
if (!string.IsNullOrEmpty(queryDto.Name))
if (!string.IsNullOrEmpty(queryDto.Group))
{
where += " and group=@Group";
}
......
......@@ -51,7 +51,7 @@
<div class="btn-toolbar btn-toolbar-top">
<form class="row">
<span class="col-md-2">
<input type="text" class="form-control" name="name" value="@Query("group")" placeholder="@Strings.MessagesPage_Query_MessageGroup" />
<input type="text" class="form-control" name="group" value="@Query("group")" placeholder="@Strings.MessagesPage_Query_MessageGroup" />
</span>
<span class="col-md-3">
<input type="text" class="form-control" name="name" value="@Query("name")" placeholder="@Strings.MessagesPage_Query_MessageName" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment