Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop to main #321

Merged
merged 24 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
162724a
PP-499: Enable fetching office holder decisions from elasticsearch.
juho-lehmonen Jul 27, 2023
3fc7a28
UHF-8858 Add return types
hyrsky Oct 16, 2023
6d86928
UHF-8858: Rename variables
hyrsky Oct 16, 2023
7f07e6b
UHF-8858: Make recursion depth parameter optional
hyrsky Oct 16, 2023
b45cbb0
UHF-8858: Make langcode parameter optional
hyrsky Oct 16, 2023
eed069a
UHF-8858: Add description to organization content type
hyrsky Oct 16, 2023
7c0dca9
UHF-8858: Hide organization nodes from anonymous users
hyrsky Oct 16, 2023
0a5cc1e
UHF-8858: Add admin view for organizations
hyrsky Oct 16, 2023
b6a53cf
UHF-8858: Link policymaker to organization with a reference
hyrsky Oct 13, 2023
e659361
UHF-8858: Add service for querying organization hierarchy
hyrsky Oct 16, 2023
5aa3b1d
UHF-8858: Replace AhjoOrgChartQueueWorker with a migration
hyrsky Oct 13, 2023
3537d0c
UHF-8858: Add organizations cron jobs
hyrsky Oct 16, 2023
9f57841
UHF-8858: move update hook to drush command
hyrsky Oct 16, 2023
5bbc288
Merge pull request #295 from City-of-Helsinki/PP-499-enable-elasticse…
juho-lehmonen Oct 17, 2023
839a78a
UHF-9028: remove who_s_new and who_s_online views
hyrsky Oct 17, 2023
7588d95
UHF-9028: Fix pager styles on taxonomy term view
hyrsky Oct 17, 2023
4462add
UHF-9028: remove unnecessary template variable
hyrsky Oct 18, 2023
a422564
UHF-9028: ensure that taxonomy_term and all_artices block have the sa…
hyrsky Oct 18, 2023
8f963f6
UHF-9028: Use same field and date format for all_articles block and t…
hyrsky Oct 18, 2023
45fa25d
UHF-9028: build css
hyrsky Oct 18, 2023
584c49e
Merge pull request #322 from City-of-Helsinki/UHF-9028-taxonomy-list-…
hyrsky Oct 24, 2023
a9fd686
UHF-8858: fix typo
hyrsky Oct 24, 2023
02a02cb
UHF-8858: do not crash migration if ahjo returns invalid organization
hyrsky Oct 24, 2023
9af879e
Merge pull request #320 from City-of-Helsinki/UHF-8858-import-org-chart
hyrsky Oct 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function paatokset_policymakers_preprocess_node__policymaker(&$variables) {
}
else {
// Get the two most recent decisions.
$recentDecisions = $policymakerService->getAgendasList(2, FALSE);
$recentDecisions = $policymakerService->getAgendasListFromElasticSearch(2, FALSE);
if (!empty($recentDecisions)) {
$variables['recent_decisions'] = $recentDecisions;
$variables['all_decisions_link'] = $policymakerService->getDecisionsRoute();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct(array $configuration, $plugin_id, $plugin_definition
* Build the attributes.
*/
public function build() {
$list = $this->policymakerService->getAgendasList(NULL, TRUE);
$list = $this->policymakerService->getAgendasListFromElasticSearch(NULL, TRUE);
$years = array_keys($list);

return [
Expand Down