Service Portal: 'Popular Items' widget shows Order Guides from different catalogs which are not part of the configured catalog.DescriptionIn the San Diego release it was identified that Order Guides that are defined in different Catalogs will appear in the 'Popular Items' portal widget even when they should not be. Inclusion of Order Guides within the 'Popular Items' widget was a new feature in the San Diego release. This defective behaviour was introduced whilst trying to also relieve known performance issues with this widget. This being when the 'sc_req_item' table, which it queries, becomes very large, and when there aren't appropriate indexes defined for this query due to index limits being met.Steps to Reproduce Create an Order Guide, with rule bases in "Catalog 1".Configure portal to show items of "Catalog 2".Order Order Guide from platform. Expected: In the Popular Item shown should not include the above created Order Guide.Actual: Shows the Order Guide created.WorkaroundIf there are no identifiable performance issues with the 'Popular Items' widget within a particular instance, there is the option to create a new 'true|false' System Property named 'glide.sc.portal.popular_items.optimize', and to set it to 'false'. This will revert the underlying code to running the previous functionality, and Order Guides should then not display at all within the widget.Related Problem: PRB1581261