PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.15
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.15
6.2.15 6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 All 197 releases
← All changes | app/Models/Submission.php +4 -1 6.2.12 → 6.2.15 View file →
@@ -389,9 +389,12 @@
389 389 }
390 390 }
391 391
392 392 public function allSubmissions($attributes = []) {
393 - $searchExtender = function ($q, $escaped) {
393 + // Match by form title only in the cross-form view; once a form is
394 + // selected the search must hit submission data only, so the listing
395 + // stays identical to the (form-scoped) export and single-form list.
396 + $searchExtender = Arr::get($attributes, 'form_id') ? null : function ($q, $escaped) {
394 397 $q->orWhereHas('form', function ($q) use ($escaped) {
395 398 $q->where('title', 'LIKE', "%{$escaped}%");
396 399 });
397 400 };