当我根据“状态”搜索详细信息时,它正在正确搜索并保持检查状态。但问题是,当我通过单击分页号转到下一页时,选中的单选按钮被删除。单击分页号后,我想继续检查已搜索的单选按钮。请有人帮我解决这个问题吗?
这是我的搜索表格和下面的一个屏幕截图-
<form class="form-inline" role="form">
<div class="form-group">
<label class="filter-col" for="pref-search">Search:</label>
<input type="text" name="keyword" class="form-control1" value="{{ ($keyword) ? $keyword : '' }}" placeholder="Search by keyword" id="pref-search">
</div>
<div class="form-group">
<label for="radio" class="filter-col">Status:</label>
<div class="col-sm-8 form-control1">
<div class="radio-inline">
<label>
<input name="status" {{ ($cstatus == '') ? 'checked="checked"' : '' }} type="radio" value="">
All</label>
</div>
<div class="radio-inline">
<label>
<input name="status" {{ ($cstatus == 'open') ? 'checked="checked"' : '' }} type="radio" value="open">
Open</label>
</div>
<div class="radio-inline">
<label>
<input name="status" {{ ($cstatus == 'closed') ? 'checked="checked"' : '' }} type="radio" value="closed">
Closed</label>
</div>
</div>
</div>
<div class="form-group" style="float: right;">
<button class="btn btn-primary" type="submit">Search</button>
</div>
</form>