forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -301,7 +301,7 @@ def search_etud_by_name(term: str) -> list:
|
|||||||
FROM identite
|
FROM identite
|
||||||
WHERE
|
WHERE
|
||||||
dept_id = %(dept_id)s
|
dept_id = %(dept_id)s
|
||||||
AND code_nip LIKE %(beginning)s
|
AND code_nip ILIKE %(beginning)s
|
||||||
ORDER BY nom
|
ORDER BY nom
|
||||||
""",
|
""",
|
||||||
{"beginning": term + "%", "dept_id": g.scodoc_dept_id},
|
{"beginning": term + "%", "dept_id": g.scodoc_dept_id},
|
||||||
@ -320,7 +320,7 @@ def search_etud_by_name(term: str) -> list:
|
|||||||
FROM identite
|
FROM identite
|
||||||
WHERE
|
WHERE
|
||||||
dept_id = %(dept_id)s
|
dept_id = %(dept_id)s
|
||||||
AND nom LIKE %(beginning)s
|
AND nom ILIKE %(beginning)s
|
||||||
ORDER BY nom
|
ORDER BY nom
|
||||||
""",
|
""",
|
||||||
{"beginning": term + "%", "dept_id": g.scodoc_dept_id},
|
{"beginning": term + "%", "dept_id": g.scodoc_dept_id},
|
||||||
|
@ -185,7 +185,6 @@ $(function () {
|
|||||||
if (x) {
|
if (x) {
|
||||||
try {
|
try {
|
||||||
let order_info = JSON.parse(x);
|
let order_info = JSON.parse(x);
|
||||||
console.log("set order=" + order_info);
|
|
||||||
table_options.order = order_info;
|
table_options.order = order_info;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
@ -248,11 +247,6 @@ class ScoFieldEditor {
|
|||||||
return true; // Aucune modification, pas d'enregistrement mais on continue normalement
|
return true; // Aucune modification, pas d'enregistrement mais on continue normalement
|
||||||
}
|
}
|
||||||
obj.classList.add("sco_wait");
|
obj.classList.add("sco_wait");
|
||||||
// DEBUG
|
|
||||||
// console.log(`
|
|
||||||
// data : ${value},
|
|
||||||
// id: ${obj.dataset.oid}
|
|
||||||
// `);
|
|
||||||
|
|
||||||
$.post(
|
$.post(
|
||||||
this.save_url,
|
this.save_url,
|
||||||
|
Loading…
Reference in New Issue
Block a user