ADD filtering and searching 0.9.7

This commit is contained in:
2023-10-29 21:48:49 +01:00
parent 372fdada98
commit 6d03c99a34
26 changed files with 884 additions and 53 deletions

View File

@ -36,11 +36,21 @@
hint="COM_DEPOT_FIELD_ALIAS_PART_PLACEHOLDER"
size="40"
/>
<field
name="package_id"
type="sql"
label="COM_DEPOT_FIELD_SELECT_PACKAGE"
query="SELECT id, CONCAT(name,' (',description,')') AS package FROM #__depot_package ORDER BY package"
key_field="id"
value_field="package"
>
<option value="">COM_DEPOT_SELECT_YOUR_OPTION</option>
</field>
<field
name="manufacturer_id"
type="sql"
label="COM_DEPOT_FIELD_SELECT_MANUFACTURER"
query="SELECT id, CONCAT( name_short, ' (', name_long, ')') AS title FROM #__depot_manufacturer ORDER BY title"
query="SELECT id, CONCAT(name_short,' (',name_long,')') AS title FROM #__depot_manufacturer ORDER BY title"
key_field="id"
value_field="title"
required="true"
@ -87,7 +97,7 @@
<field
name="created"
type="calendar"
label="COM_DEPOT_FIELD_CREATED_LABEL"
label="JGLOBAL_FIELD_CREATED_LABEL"
class="readonly"
translateformat="true"
showtime="true"
@ -97,14 +107,14 @@
<field
name="created_by"
type="user"
label="COM_DEPOT_FIELD_CREATED_BY_LABEL"
label="JGLOBAL_FIELD_CREATED_BY_LABEL"
class="readonly"
readonly="true"
/>
<field
name="modified"
type="calendar"
label="COM_DEPOT_FIELD_MODIFIED_LABEL"
label="JGLOBAL_FIELD_MODIFIED_LABEL"
class="readonly"
translateformat="true"
showtime="true"
@ -114,7 +124,7 @@
<field
name="modified_by"
type="user"
label="COM_DEPOT_FIELD_MODIFIED_BY_LABEL"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
readonly="true"
/>