mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 07:40:39 -04:00
Include ToC entries in search results for short and poetry compilations
This commit is contained in:
parent
95ee5265bc
commit
658db66c2b
3 changed files with 25 additions and 2 deletions
|
@ -7,7 +7,7 @@ $allSelected = sizeof($tags) == 0 || in_array('all', $tags);
|
|||
<option value="all">All</option>
|
||||
<? foreach(Library::GetTags() as $tag){
|
||||
$lcTag = mb_strtolower($tag); ?>
|
||||
<option value="<?= $lcTag ?>"<? if(!$allSelected && in_array($lcTag, $tags)){ ?> selected="selected"<? } ?>><?= $tag ?></option>
|
||||
<option value="<?= Formatter::ToPlainText($lcTag) ?>"<? if(!$allSelected && in_array($lcTag, $tags)){ ?> selected="selected"<? } ?>><?= Formatter::ToPlainText($tag) ?></option>
|
||||
<? } ?>
|
||||
</select>
|
||||
</label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue