-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved: getAssociatedPriceRulesConds service return huge result
(OFBIZ-11701) The service getAssociatedPriceRulesConds return some element to help the selection on product prise rule condition screen. The problem: all query to resolve element are realized without filter : from("Product").queryList() On big database, a call on this service generate a server saturation (load 1 Million product to a dropdown, isn't logical) To keep the benefit of this service as example to implement a custom service with filter, I introduce a limit range to 200. For much more it's better to improve the screen with a lookup. I also simplify the list generation to homogenize and help the reader.
- Loading branch information
Showing
1 changed file
with
86 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters