<commit_before>//default language code, can be overwritten with lang parameter in URL
var lang = "de"; //for available codes see array availableLanguages in file GlobalOptions.js 

//new namespace for QGIS extensions
//do not modify those three lines
if (!window.QGIS) {
    window.QGIS = {};
}

//Base URL for WMS server
//var serverAndCGI = "http://localhost/cgi-bin/qgis_mapserv.fcgi";
var serverAndCGI = "/wms";

//search URLs
//URL for queries while typing
//at a later time QGIS server may provide query results, currently one needs a separate script
var searchBoxQueryURL = "/wsgi/search.wsgi?query=";
var searchBoxGetGeomURL = "/wsgi/getSearchGeom.wsgi";

//list of configs for QGIS.SearchPanel
var searchPanelConfigs = [
	{
		title: "Parzellensuche",
//		url: '/wms/av',
		url: "/wms/av?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=countries%2Cbo_areas&QUERY_LAYERS=bo_areas&STYLES=%2C&BBOX=713354.834732%2C206929.700761%2C721427.165268%2C210310.299239&FEATURE_COUNT=10&HEIGHT=477&WIDTH=1139&FORMAT=image%2Fpng&INFO_FORMAT=text%2Fxml&SRS=EPSG%3A21781&FILTER=bo_areas:%22art%22%20=%2029",
		formItems: [
			{
				xtype: 'hidden',
				name: 'query',
				value: 'parzelle'
			},
			{
				xtype: 'textfield',
				name: 'gemeinde',
				fieldLabel: "Gemeinde"
			},
			{
				xtype: 'textfield',
				name: 'nummer',
				fieldLabel: "Nummer"
			}
		],
		gridColumns: [
				{header: 'ogc_fid', dataIndex: 'ogc_fid', menuDisabled: 'true'},
				{header: 'Art', dataIndex: 'art', menuDisabled: 'true'},
		],
		selectionLayer: 'bo_areas',
		selectionZoom: 3
	}
];
<commit_msg>SearchPanel "Parzellensuche" with combobox for "Gemeinde"<commit_after>//default language code, can be overwritten with lang parameter in URL
var lang = "de"; //for available codes see array availableLanguages in file GlobalOptions.js 

//new namespace for QGIS extensions
//do not modify those three lines
if (!window.QGIS) {
    window.QGIS = {};
}

//Base URL for WMS server
//var serverAndCGI = "http://localhost/cgi-bin/qgis_mapserv.fcgi";
var serverAndCGI = "/wms";

//search URLs
//URL for queries while typing
//at a later time QGIS server may provide query results, currently one needs a separate script
var searchBoxQueryURL = "/wsgi/search.wsgi?query=";
var searchBoxGetGeomURL = "/wsgi/getSearchGeom.wsgi";

//list of configs for QGIS.SearchPanel
var searchPanelConfigs = [
	{
		title: "Parzellensuche",
		url: '/wms',
		formItems: [
			{
				xtype: 'hidden',
				name: 'query',
				value: 'parzelle'
			},
			{
				xtype: 'combo',
				hiddenName: 'gemeinde',
				fieldLabel: "Gemeinde",
				mode: 'local',
				store: new Ext.data.ArrayStore({
					data: [
						[1601, "Betschwanden"],
						[1602, "Bilten"],
						[1603, "Braunwald"],
						[1604, "Diesbach"],
						[1605, "Elm"],
						[1606, "Engi"],
						[1607, "Ennenda"],
						[1608, "Filzbach"],
						[1609, "Glarus"],
						[1611, "Hätzingen"],
						[1610, "Haslen"],
						[1613, "Linthal"],
						[1614, "Luchsingen"],
						[1615, "Matt"],
						[1616, "Mitlödi"],
						[1618, "Mühlehorn"],
						[1619, "Näfels"],
						[1620, "Netstal"],
						[1621, "Nidfurn"],
						[6, "Oberurnen"],
						[1624, "Obstalden"],
						[1625, "Riedern"],
						[1626, "Rüti(GL)"],
						[1628, "Schwändi"],
						[1627, "Schwanden(GL)"],
						[1629, "Sool"]
					],
					id: 0,
					fields: ['bfsnr', 'name']
				}),
				valueField: 'bfsnr',
				displayField: 'name'
			},
			{
				xtype: 'textfield',
				name: 'nummer',
				fieldLabel: "Nummer"
			}
		],
		gridColumns: [
				{header: 'ID', dataIndex: 'feature_id', menuDisabled: 'true'},
				{header: 'Nummer', dataIndex: 'nummer', menuDisabled: 'true'},
				{header: 'Fläche', dataIndex: 'flaechenmass', menuDisabled: 'true'},
		],
		selectionLayer: 'liegenschaften',
		selectionZoom: 5
	}
];

{'fraction_non_alphanumeric': 0.16061084781463927, 'fraction_numerical': 0.049236440231700894, 'mean_word_length': 3.4746760895170787, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1414320', 'n_tokens_mistral': 1811, 'n_tokens_neox': 1425, 'n_words': 328}