how to fix count product admin on magento2 - magento2

I just search only one sku, but it show another number records found, how to fix it.
enter image description here

Related

Magento 2.4 collection filtering no longer working - strange paging issue

I'll start by saying that this worked correctly prior to Magento 2.4.
using $collection->addAttributeToFilter("sku",'21V12') does seem to filter the products, but it does so very strangely. if i have 20 products in a category and i use that filter, there are 2 different scenarios
The results are correct and it shows 1 of 1
The results show "We can't find products matching the selection."
the difference is that if the sku i'm filtering on is on page 1, then i get the first results, but if the sku is on a different page, i get the "We can't find products matching the selection."
If I add the page to the url, I get the result (adding p=2 or p=3 for example)
Any idea why that is? I've tried this in multiple points in the code to no avail.
That filtering on sku is a simple example, but lets say we want to do a more involved filter like
$collection->addAttributeToFilter("special_name",'some_custom_text')
and that gives 20 results, sometimes there are none on page 1 and 3 on page 2, etc.
Anyway, it seems to just be hiding items in the display and not actually giving the results we are looking for.
I've tested this on a baseline 2.4.2 install with the Luma theme.
To verify, the easiest way, add this at line 147 in vendor/magento/module-catalog/Model/Layer.php
$collection->addAttributeToFilter("sku",'21V12');
Substitute a sku you have on page 2 of a category page. you should get the "We can't find products matching the selection." page, but if you add ?p=2 (or whatever page your item is on normally) you'll get that product as a result.

Need Command button to open record ID range using text boxes

I have 30 reports to open to file my sales tax based on installs in different areas. I made a query and report for each area with criteria in each query under PaymentID stating Between FromPayment And ToPayment My issue is that i have to open each query and enter the ID 30 times.
Can I make a text box range and button to open all reports at once by filling in the text box on a form ONE time. Not sure how to do this. Please help.

Search functionality in Unqork

I have a dashboard which has 10 records labeled as name, contact number and policy number. I need to have search bar. Using policy number I need to retrieve the record.
How can this be achieved using Unqork?
I hope you might be using the viewGrid to display the records under dashboard, there's a feature to enable filters in viewrid properties where it shows search bar kind of item for each column, based on the activity each column can be filtered accordingly.

Crystal reports grouping by date, does not shows detail of records by the grouped date

I'm having a problem with the records showed in the detail in which should be all the records grouped by the date field.
I want to group all the invoices done in one day, without doing it by day of the day, ex. Monday, Tuesday, etc.. That's not what I want, I want to show the Document Date (group) and the invoices sold in that date under it.
Please see the graphic attached, the detail record does not belong to the group.
I'm using Crystal Reports 14.1.5.1501
Thank you very much for your help!
enter image description here
enter image description here
Added two more screens, to verify it's the same field.
enter image description here
enter image description here
I finally found the problem, when creating the group, I did not notice that for some reason under "The section will be printed for each" drop down list, it brings "For each week" by default instead of “For each day”. I created another report and the same thing happened, that's why it was driving me crazy. Like I said "It has to be something simple". I had to search for a youtube video to realize that.

Get click count and impressions from lineitemid in Google Admanager (DFP)

I have a line item id stored in my DB, and i want using Admanager API to get click count, impressions number in PHP.
I saw on google groups that it was possible to do it using report generation and then parsing, but there is a faster way to do it (if possible i don't want to make a full report of my campaign)
thank you
This is an example of a Google Ad Manager query where you can get impressions and clicks for a particular order ID (which you can then change for line item ID in order to filter just for it). You can then download the results of that query as a CSV file, and process them as you'd process any CSV file.