mirror of
https://github.com/logos-co/open-law.git
synced 2025-02-13 07:16:25 +00:00
fix
This commit is contained in:
parent
4736cb5ee9
commit
c96cdebbce
File diff suppressed because one or more lines are too long
@ -83,14 +83,13 @@
|
||||
<thead class="text-xs text-gray-900 uppercase dark:text-gray-400">
|
||||
<tr><th scope="col" class="flex items-center justify-start px-1 py-1">
|
||||
<!-- prettier-ignore -->
|
||||
<svg aria-hidden="true" class="w-5 h-5 mr-2 text-gray-400 group-hover:text-gray-500 dark:text-gray-500 dark:group-hover:text-gray-300" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" d="M16.5 3.75V16.5L12 14.25 7.5 16.5V3.75m9 0H18A2.25 2.25 0 0120.25 6v12A2.25 2.25 0 0118 20.25H6A2.25 2.25 0 013.75 18V6A2.25 2.25 0 016 3.75h1.5m9 0h-9" /> </svg>
|
||||
Tags
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="tagsText-0">
|
||||
<th scope="row" class="px-2 py-2 font-medium text-gray-900 whitespace-nowrap dark:text-white">
|
||||
<th scope="row" class="flex items-center px-2 py-2 font-medium text-gray-900 whitespace-nowrap dark:text-white">
|
||||
<svg aria-hidden="true" class="w-5 h-5 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" d="M9.568 3H5.25A2.25 2.25 0 003 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 005.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 009.568 3z" /> <path stroke-linecap="round" stroke-linejoin="round" d="M6 6h.008v.008H6V6z" /> </svg>
|
||||
<a href="" id="tagsText-0"></a></th>
|
||||
</tr>
|
||||
|
@ -158,7 +158,7 @@ def tag_search_interpretations():
|
||||
|
||||
@bp.route("/tag_search_books", methods=["GET"])
|
||||
def tag_search_books():
|
||||
tag_name = request.args.get("tag_name", type=str, default="")
|
||||
tag_name = request.args.get("tag_name", type=str, default="").lower()
|
||||
books = (
|
||||
db.session.query(m.Book)
|
||||
.filter(
|
||||
|
@ -63,7 +63,7 @@ const multipleInputJs = () => {
|
||||
tagsToSubmitInput.value = addedWords.join();
|
||||
|
||||
multipleInput.addEventListener('input', () => {
|
||||
let inputValue = multipleInput.value.trim();
|
||||
let inputValue = multipleInput.value.trim().toLowerCase();
|
||||
if (inputValue.length > 32) {
|
||||
multipleInput.value = inputValue.slice(0, 32);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user