Skip to content

Commit

Permalink
Merge pull request #991 from yast/ay-custom-proposal-m
Browse files Browse the repository at this point in the history
Fix displaying a custom proposal set in AY (master)
  • Loading branch information
mvidner committed Nov 2, 2021
2 parents e02626a + 20af469 commit d173e06
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
8 changes: 8 additions & 0 deletions package/yast2-installation.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Nov 1 12:48:19 UTC 2021 - Martin Vidner <mvidner@suse.com>

- Filter the installation proposals (in the Installation Settings
screen) according to the AutoYaST profile even before
tab switching (related to bsc#1190294)
- 4.4.21

-------------------------------------------------------------------
Thu Oct 28 08:33:55 UTC 2021 - José Iván López González <jlopez@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-installation
Version: 4.4.20
Version: 4.4.21
Release: 0
Summary: YaST2 - Installation Parts
License: GPL-2.0-only
Expand Down
5 changes: 2 additions & 3 deletions src/lib/installation/proposal_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,8 @@ def make_proposal(force_reset, language_changed)
@html[submod] = prop

# now do the complete html
presentation_modules = @store.presentation_order
presentation_modules = presentation_modules[@current_tab] if @store.tabs?
proposal = presentation_modules.reduce("") do |res, mod|
load_matching_submodules_list
proposal = @submodules_presentation.reduce("") do |res, mod|
res << (@html[mod] || "")
end
display_proposal(div_with_direction(proposal))
Expand Down

0 comments on commit d173e06

Please sign in to comment.