Skip to content

Commit 147beb0

Browse files
authored
Update README.md changed active for filter colum
1 parent 76cc7a3 commit 147beb0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Example:
5959
sqlFieldName: sql_definition
6060
orderByFieldName: ordering
6161
connectionFieldName: connection_field_name
62-
filter: 'display is not null'
62+
filter: 'active is not null'
6363
export_format: xlsx
6464
```
6565
@@ -97,7 +97,7 @@ CREATE TABLE public.query_builder_data (
9797
id serial PRIMARY KEY,
9898
name character varying,
9999
sql_definition text,
100-
display integer,
100+
active integer,
101101
ordering integer,
102102
connection_field_name character varying
103103
);
@@ -107,9 +107,9 @@ The following demodata with SQL queries can be used for the exemplary use.
107107
The SQL commands for the creation of the queried tables can be found in the documentation for the digitizer element.
108108
109109
```
110-
INSERT INTO public.query_builder_data (id, name, sql_definition, display, ordering, connection_field_name) VALUES (1, 'Report 1: Time and Date', 'Select now() as "Zeit", date(now()) as "Datum";', 1, 1, 'geodata_db');
111-
INSERT INTO public.query_builder_data (id, name, sql_definition, display, ordering, connection_field_name) VALUES (3, 'Report 2: Mapbender applications', 'Select id, title, slug from mb_core_application;', 1, 4, 'default');
112-
INSERT INTO public.query_builder_data (id, name, sql_definition, display, ordering, connection_field_name) VALUES (4, 'Report 3: Mapbender users', 'Select id, username from fom_user;', 1, 3, 'default');
113-
INSERT INTO public.query_builder_data (id, name, sql_definition, display, ordering, connection_field_name) VALUES (2, 'Hello world', 'Select now() as "Zeit", date(now()) as "Datum", ''Hello world!'' as gruss;', 1, 2, 'default');
110+
INSERT INTO public.query_builder_data (id, name, sql_definition, active, ordering, connection_field_name) VALUES (1, 'Report 1: Time and Date', 'Select now() as "Zeit", date(now()) as "Datum";', 1, 1, 'geodata_db');
111+
INSERT INTO public.query_builder_data (id, name, sql_definition, active, ordering, connection_field_name) VALUES (3, 'Report 2: Mapbender applications', 'Select id, title, slug from mb_core_application;', 1, 4, 'default');
112+
INSERT INTO public.query_builder_data (id, name, sql_definition, active, ordering, connection_field_name) VALUES (4, 'Report 3: Mapbender users', 'Select id, username from fom_user;', 1, 3, 'default');
113+
INSERT INTO public.query_builder_data (id, name, sql_definition, active, ordering, connection_field_name) VALUES (2, 'Hello world', 'Select now() as "Zeit", date(now()) as "Datum", ''Hello world!'' as gruss;', 1, 2, 'default');
114114
```
115115

0 commit comments

Comments
 (0)