Skip to content

Commit 7baec55

Browse files
committed
table component bugfix
1 parent c94c13f commit 7baec55

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Fixed invalid decoding of some less common data types in Microsoft SQL Server and MySQL.
1919
- Fixed a display bug where the table search box would disappear when scrolling horizontally in a large table.
2020
- Remove small blank padding around tables in the table component
21+
- Fixed a bug in the table component where searching for "xy" would match a row with a cell that contains "x" followed by a cell that contains "y". This should match "x y" but not "xy".
2122

2223
## 0.30.1 (2024-10-31)
2324
- fix a bug where table sorting would break if table search was not also enabled.

sqlpage/templates/table.handlebars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</tr>
3939
</thead>
4040
<tbody class="table-tbody list">{{#delay}}</tbody>{{/delay}}
41-
{{/if}}
41+
{{~/if~}}
4242

4343
<tr class="{{_sqlpage_css_class}} {{#if _sqlpage_color}}bg-{{_sqlpage_color}}-lt{{/if}}" {{#if _sqlpage_id}}id="{{_sqlpage_id}}"{{/if}}>
4444
{{~#each this~}}
@@ -58,7 +58,7 @@
5858
{{~/if~}}
5959
{{~/if~}}
6060
</td>
61-
{{~/if~}}
61+
{{/if~}}
6262
{{~/each~}}
6363
</tr>
6464
{{/each_row}}

0 commit comments

Comments
 (0)