Widget:BcaSearch: Difference between revisions
(RLQ with a module list) |
(Run a search given in the address on arrival) |
||
| Line 244: | Line 244: | ||
$('#bcas-pills').on('click', '.topic-biblio-pill', function () { state.cls = $(this).attr('data-cls') || ''; $('#bcas-pills .topic-biblio-pill').removeClass('is-active'); $(this).addClass('is-active'); writeUrl(); loadList(false); }); | $('#bcas-pills').on('click', '.topic-biblio-pill', function () { state.cls = $(this).attr('data-cls') || ''; $('#bcas-pills .topic-biblio-pill').removeClass('is-active'); $(this).addClass('is-active'); writeUrl(); loadList(false); }); | ||
$('#bcas-more').on('click', function () { loadList(true); }); | $('#bcas-more').on('click', function () { loadList(true); }); | ||
if ( | if ($('#bcas-q').val()) run(); else $('#bcas-q').trigger('focus'); | ||
}); | }); | ||
}]); | }]); | ||
</script></includeonly> | </script></includeonly> | ||
Revision as of 19:04, 2 October 2026
Site search for the Bodhicitta wiki (preview). Used on Advanced Search/Preview. Full-text search through CirrusSearch, results grouped (library, passages in the aligned texts, essays, topics, people), class filters with counts, the library's bibliographic rows, and the search kept in the page address so it can be shared.