|
1 | | -<form method="post" action="{{ url('/table/zoom-search') }}" name="displayResultForm" id="zoom_display_form" class="ajax"> |
| 1 | +<form method="post" action="{{ url('/table/zoom-search', {'db': db, 'table': table}) }}" name="displayResultForm" id="zoom_display_form" class="ajax"> |
2 | 2 | {{ get_hidden_inputs(db, table) }} |
3 | 3 | <input type="hidden" name="goto" value="{{ goto }}"> |
4 | | - <input type="hidden" name="back" value="{{ url('/table/zoom-search') }}"> |
| 4 | + <input type="hidden" name="back" value="{{ url('/table/zoom-search', {'db': db, 'table': table}) }}"> |
5 | 5 |
|
6 | 6 | <div class="card"> |
7 | 7 | <div class="card-header">{{ t('Browse/Edit the points') }}</div> |
|
19 | 19 | {% endif %} |
20 | 20 | </div> |
21 | 21 |
|
22 | | - <div class="modal fade" id="dataPointModal" tabindex="-1" aria-labelledby="dataPointModalLabel" aria-hidden="true"> |
23 | | - <div class="modal-dialog"> |
| 22 | + <div class="modal fade" id="dataPointModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="dataPointModalLabel" aria-hidden="true"> |
| 23 | + <div class="modal-dialog modal-lg modal-dialog-scrollable"> |
24 | 24 | <div class="modal-content"> |
25 | 25 | <div class="modal-header"> |
26 | 26 | <h5 class="modal-title" id="dataPointModalLabel">{{ t('Loading') }}</h5> |
|
53 | 53 | {% include 'table/search/input_box.twig' with { |
54 | 54 | 'str': '', |
55 | 55 | 'column_type': column_types[column_index], |
| 56 | + 'column_data_type': column_data_types[column_index], |
| 57 | + 'html_attributes': '', |
56 | 58 | 'column_id': column_types[column_index] ? 'edit_fieldID_' : 'fieldID_', |
57 | 59 | 'in_zoom_search_edit': true, |
58 | 60 | 'foreigners': foreigners, |
59 | 61 | 'column_name': field_popup, |
60 | | - 'column_name_hash': column_name_hashes[field_popup], |
| 62 | + 'column_name_hash': column_names_hashes[field_popup], |
61 | 63 | 'foreign_data': foreign_data[column_index], |
62 | 64 | 'table': table, |
63 | 65 | 'column_index': column_index, |
64 | | - 'foreign_max_limit': foreign_max_limit, |
65 | 66 | 'criteria_values': '', |
66 | 67 | 'db': db, |
67 | 68 | 'in_fbs': false, |
68 | | - 'foreign_dropdown': foreign_dropdown[column_index], |
69 | | - 'search_columns_in_foreigners': search_columns_in_foreigners[column_index] |
| 69 | + 'foreign_dropdown': foreign_dropdown[column_index] ?? '', |
| 70 | + 'search_column_in_foreigners': search_columns_in_foreigners[column_index], |
| 71 | + 'is_integer': column_data_types[column_index] == 'INT', |
| 72 | + 'is_float': column_data_types[column_index] == 'FLOAT', |
70 | 73 | } only %} |
71 | 74 | </th> |
72 | 75 | </tr> |
|
0 commit comments