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

TMS-925: Program-listing changes #179

Merged
merged 3 commits into from
Jun 25, 2024
Merged

TMS-925: Program-listing changes #179

merged 3 commits into from
Jun 25, 2024

Conversation

eebbi
Copy link
Contributor

@eebbi eebbi commented Jun 24, 2024

Severa-ID: 2132
Severa-kuvaus: TMS-925 5 - Tredu: koulutushaun vapaasanahaun kohdistus
Task: https://hiondigital.atlassian.net/browse/TMS-925

Description

  • Change program-search results order to relevance
  • Show all apply-methods in program-listing

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@eebbi eebbi changed the title Tms 925 TMS-925: Program-listing changes Jun 24, 2024
@eebbi eebbi requested a review from a team June 24, 2024 08:32
@vloy vloy self-assigned this Jun 25, 2024
$item->apply_method_color = $apply_method_color;
$item->apply_method_txt_color = $apply_method_color === 'primary' ? 'white' : 'primary';
foreach ( $terms as $key => $term ) {
$apply_method_color = \get_term_meta( $term->term_id, 'color', true ) ?? '';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tarkista sisennys

Copy link

@vloy vloy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eebbi eebbi merged commit a275000 into master Jun 25, 2024
3 checks passed
@eebbi eebbi deleted the TMS-925 branch June 25, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants