Browse Source

fixed query bug.

master
Savorboard 7 years ago
parent
commit
73ad5a536a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/DotNetCore.CAP.SqlServer/SqlServerMonitoringApi.cs
  2. +1
    -1
      src/DotNetCore.CAP/Dashboard/Pages/ReceivedPage.cshtml

+ 1
- 1
src/DotNetCore.CAP.SqlServer/SqlServerMonitoringApi.cs View File

@@ -94,7 +94,7 @@ _options.Schema);
{
where += " and name=@Name";
}
if (!string.IsNullOrEmpty(queryDto.Name))
if (!string.IsNullOrEmpty(queryDto.Group))
{
where += " and group=@Group";
}


+ 1
- 1
src/DotNetCore.CAP/Dashboard/Pages/ReceivedPage.cshtml View File

@@ -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" />


Loading…
Cancel
Save