<commit_before><section class="panel panel-default">
	
	<div class="panel-heading clearfix">
		<h2 class="pull-left" ng-show="environment === 'EAO' && title !== 'no'">List of Environmental Assessments</h2>
		<h2 class="pull-left" ng-show="environment === 'MEM' && title !== 'no'">Mining Projects</h2>
		<div class="pull-right">
			<show-filter x-toggle-filter="toggleFilter"></show-filter>
		</div>
	</div>
	
	<table x-show-filter="toggleFilter" ng-table="projectList.tableParams" class="projects-table table table-striped">
		<tr ng-repeat="o in $data" class='clickable' ui-sref="p.detail({projectid: o.code})">
			<td header-class="'name-col'" data-title="'Name'" filter="{'name':'text'}" sortable="'name'">
				{{o.name}}
			</td>
			<td ng-if="environment === 'MEM'" data-title="'Permit'" filter="{'memPermitID':'text'}" sortable="'memPermitID'">
				{{o.memPermitID}}
			</td>
			<td header-class="'type-col'" data-title="'Type'" filter="{type:'select'}" filter-data="projectList.typeArray"sortable="'type'">
				{{o.type}}
			</td>
			<td header-class="'region-col'" data-title="'Region'" filter="{region:'select'}" filter-data="projectList.regionArray" sortable="'region'">
				{{o.region | regionName}}
			</td>
			<td header-class="'phase-col'"
				data-title="'Phase'"
				filter="{'currentPhase.name':'select'}"
				filter-data="projectList.phaseArray"
				sortable="'currentPhase.name'" >
				{{o.currentPhase.name}}
			</td>
			<!--
			<td ng-if="environment === 'EAO'"
				data-title="'Status'"
				filter="{status:'select'}"
				filter-data="projectList.statusArray"
				sortable="'status'">
				{{o.status}}
			</td>
			-->	
		</tr>
		
		<tr ng-show="!$data || !$data.length" class="text-center">
			<td ng-if="environment === 'EAO'" colspan="4">No results match your search.</td>
			<td ng-if="environment === 'MEM'" colspan="4">No results match your search.</td>
		</tr>
		
	</table>
</section>

<commit_msg>Project List - Visible Search Fields<commit_after><section class="panel panel-default">
	
	<div class="panel-heading clearfix">
		<h2 class="pull-left" ng-show="environment === 'EAO' && title !== 'no'">List of Environmental Assessments</h2>
		<h2 class="pull-left" ng-show="environment === 'MEM' && title !== 'no'">Mining Projects</h2>
		<div class="pull-right hidden">
			<show-filter x-toggle-filter="toggleFilter"></show-filter>
		</div>
	</div>
	
	<table x-show-filter="true" ng-table="projectList.tableParams" class="projects-table table table-striped">
		<tr ng-repeat="o in $data" class='clickable' ui-sref="p.detail({projectid: o.code})">
			<td header-class="'name-col'" data-title="'Name'" filter="{'name':'text'}" sortable="'name'">
				{{o.name}}
			</td>
			<td ng-if="environment === 'MEM'" data-title="'Permit'" filter="{'memPermitID':'text'}" sortable="'memPermitID'">
				{{o.memPermitID}}
			</td>
			<td header-class="'type-col'" data-title="'Type'" filter="{type:'select'}" filter-data="projectList.typeArray"sortable="'type'">
				{{o.type}}
			</td>
			<td header-class="'region-col'" data-title="'Region'" filter="{region:'select'}" filter-data="projectList.regionArray" sortable="'region'">
				{{o.region | regionName}}
			</td>
			<td header-class="'phase-col'"
				data-title="'Phase'"
				filter="{'currentPhase.name':'select'}"
				filter-data="projectList.phaseArray"
				sortable="'currentPhase.name'" >
				{{o.currentPhase.name}}
			</td>
			<!--
			<td ng-if="environment === 'EAO'"
				data-title="'Status'"
				filter="{status:'select'}"
				filter-data="projectList.statusArray"
				sortable="'status'">
				{{o.status}}
			</td>
			-->	
		</tr>
		
		<tr ng-show="!$data || !$data.length" class="text-center">
			<td ng-if="environment === 'EAO'" colspan="4">No results match your search.</td>
			<td ng-if="environment === 'MEM'" colspan="4">No results match your search.</td>
		</tr>
		
	</table>
</section>


{'fraction_non_alphanumeric': 0.23205988642230252, 'fraction_numerical': 0.003097573567372225, 'mean_word_length': 4.4886685552407934, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '16108', 'n_tokens_mistral': 1552, 'n_tokens_neox': 1299, 'n_words': 231}