analysis fixed matrix
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
function loadAnalysisMatrixNames() {
|
||||
return $.ajax({
|
||||
url: "get_matrici_db.php",
|
||||
url: "search_matrici.php?full_list=1",
|
||||
method: "GET",
|
||||
dataType: "json",
|
||||
})
|
||||
|
||||
@@ -62,7 +62,11 @@ if (isset($_GET['macro_list'])) {
|
||||
echo json_encode(['success' => true, 'value' => $macros]);
|
||||
exit;
|
||||
}
|
||||
|
||||
// Return full matrix list (same shape as get_matrici_db.php)
|
||||
if (isset($_GET['full_list'])) {
|
||||
echo json_encode(['success' => true, 'value' => $matrici]);
|
||||
exit;
|
||||
}
|
||||
// Search (with optional MacroMatrice filter) - multi-term AND, position-independent, ranked
|
||||
$terms = array_values(array_filter(
|
||||
preg_split('/\s+/u', $q, -1, PREG_SPLIT_NO_EMPTY)
|
||||
|
||||
Reference in New Issue
Block a user