Skip to content

Commit

Permalink
Merge pull request #990 from yast/ay-custom-proposal-sp3
Browse files Browse the repository at this point in the history
Fix displaying a custom proposal set in AY (SP3)
  • Loading branch information
mvidner committed Nov 2, 2021
2 parents 971b13a + 0cb29be commit b9c08d2
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.3.44

-------------------------------------------------------------------
Fri Oct 8 10:04:16 UTC 2021 - Imobach Gonzalez Sosa <igonzalezsosa@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 @@ -16,7 +16,7 @@
#

Name: yast2-installation
Version: 4.3.43
Version: 4.3.44
Release: 0
Group: System/YaST
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 b9c08d2

Please sign in to comment.