Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
Plugins
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2021 at 15:26 UTC
Updated:
18 Mar 2022 at 16:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
s.perilhou commentedHi !
Same problem here
Problem
Updated today from 1.20 to 1.21 with the new boost selection (#3201305).
Found that default boost in type-specific boosting screen configuration are all "0.00". Seems that the #default_value is not formatted. Bundles are ok.
Steps to reproduce
Proposed resolution
Format default value in TypeBoost::buildConfigurationForm
Comment #3
superman369 commentedWe also have the same issue in version 8.x-1.21.
Comment #4
gaddman commenteds.perilhou's fix works for the case where a value is set, but still doesn't correctly display or save values where "Use datasource default" has been chosen - these show as 0 and after a save are set to 0.
Comment #5
drunken monkeyThanks a lot for reporting this problem, and sorry it took me this long to get back to you.
I could easily reproduce the problem, the attached patch should fix it. Please test/review!
Comment #8
drunken monkeyComment #10
gaddman commentedTested latest patch in comment #8 and resolves issue for me.
Comment #11
amaria commentedWorks for me as well.
Comment #13
drunken monkeyThanks for the feedback, and sorry for the long delay.
Committed. Thanks again, everyone!
Comment #14
drunken monkey