mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Use "original_search" rather than "search"
This commit is contained in:
parent
6cf144c61f
commit
4ced13466a
@ -117,7 +117,7 @@
|
|||||||
"{% url 'api-part-list' %}",
|
"{% url 'api-part-list' %}",
|
||||||
{
|
{
|
||||||
params: {
|
params: {
|
||||||
search: "{{ query }}",
|
original_search: "{{ query }}",
|
||||||
},
|
},
|
||||||
checkbox: false,
|
checkbox: false,
|
||||||
disableFilters: true,
|
disableFilters: true,
|
||||||
@ -129,7 +129,7 @@
|
|||||||
$("#table-category").inventreeTable({
|
$("#table-category").inventreeTable({
|
||||||
url: "{% url 'api-part-category-list' %}",
|
url: "{% url 'api-part-category-list' %}",
|
||||||
queryParams: {
|
queryParams: {
|
||||||
search: "{{ query }}",
|
original_search: "{{ query }}",
|
||||||
},
|
},
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
@ -153,7 +153,7 @@
|
|||||||
"{% url 'api-manufacturer-part-list' %}",
|
"{% url 'api-manufacturer-part-list' %}",
|
||||||
{
|
{
|
||||||
params: {
|
params: {
|
||||||
search: "{{ query }}",
|
original_search: "{{ query }}",
|
||||||
part_detail: true,
|
part_detail: true,
|
||||||
supplier_detail: true,
|
supplier_detail: true,
|
||||||
manufacturer_detail: true
|
manufacturer_detail: true
|
||||||
@ -168,7 +168,7 @@
|
|||||||
"{% url 'api-supplier-part-list' %}",
|
"{% url 'api-supplier-part-list' %}",
|
||||||
{
|
{
|
||||||
params: {
|
params: {
|
||||||
search: "{{ query }}",
|
original_search: "{{ query }}",
|
||||||
part_detail: true,
|
part_detail: true,
|
||||||
supplier_detail: true,
|
supplier_detail: true,
|
||||||
manufacturer_detail: true
|
manufacturer_detail: true
|
||||||
@ -186,7 +186,7 @@
|
|||||||
|
|
||||||
loadBuildTable('#table-build-order', {
|
loadBuildTable('#table-build-order', {
|
||||||
params: {
|
params: {
|
||||||
search: '{{ query }}',
|
original_search: '{{ query }}',
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -200,7 +200,7 @@
|
|||||||
$('#table-stock').inventreeTable({
|
$('#table-stock').inventreeTable({
|
||||||
url: "{% url 'api-stock-list' %}",
|
url: "{% url 'api-stock-list' %}",
|
||||||
queryParams: {
|
queryParams: {
|
||||||
search: "{{ query }}",
|
original_search: "{{ query }}",
|
||||||
part_detail: true,
|
part_detail: true,
|
||||||
location_detail: true,
|
location_detail: true,
|
||||||
},
|
},
|
||||||
@ -281,7 +281,7 @@
|
|||||||
$("#table-location").inventreeTable({
|
$("#table-location").inventreeTable({
|
||||||
url: "{% url 'api-location-list' %}",
|
url: "{% url 'api-location-list' %}",
|
||||||
queryParams: {
|
queryParams: {
|
||||||
search: "{{ query }}",
|
original_search: "{{ query }}",
|
||||||
},
|
},
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
@ -307,7 +307,7 @@
|
|||||||
|
|
||||||
loadCompanyTable('#table-manufacturer', "{% url 'api-company-list' %}", {
|
loadCompanyTable('#table-manufacturer', "{% url 'api-company-list' %}", {
|
||||||
params: {
|
params: {
|
||||||
search: "{{ query }}",
|
original_search: "{{ query }}",
|
||||||
is_manufacturer: "true",
|
is_manufacturer: "true",
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -317,7 +317,7 @@
|
|||||||
|
|
||||||
loadCompanyTable('#table-supplier', "{% url 'api-company-list' %}", {
|
loadCompanyTable('#table-supplier', "{% url 'api-company-list' %}", {
|
||||||
params: {
|
params: {
|
||||||
search: "{{ query }}",
|
original_search: "{{ query }}",
|
||||||
is_supplier: "true",
|
is_supplier: "true",
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -326,7 +326,7 @@
|
|||||||
|
|
||||||
loadPurchaseOrderTable('#table-purchase-order', {
|
loadPurchaseOrderTable('#table-purchase-order', {
|
||||||
params: {
|
params: {
|
||||||
search: '{{ query }}',
|
original_search: '{{ query }}',
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -337,7 +337,7 @@
|
|||||||
|
|
||||||
loadCompanyTable('#table-customer', "{% url 'api-company-list' %}", {
|
loadCompanyTable('#table-customer', "{% url 'api-company-list' %}", {
|
||||||
params: {
|
params: {
|
||||||
search: "{{ query }}",
|
original_search: "{{ query }}",
|
||||||
is_customer: "true",
|
is_customer: "true",
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -346,7 +346,7 @@
|
|||||||
|
|
||||||
loadSalesOrderTable('#table-sales-orders', {
|
loadSalesOrderTable('#table-sales-orders', {
|
||||||
params: {
|
params: {
|
||||||
search: '{{ query }}',
|
original_search: '{{ query }}',
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user