andrekef opened a new issue, #28318:
URL: https://github.com/apache/superset/issues/28318

   ### Bug description
   
   When utilizing the search bar functionality within a table in GitHub, the 
total calculation feature fails to adjust accordingly. This means that when 
searching for specific values within the table, the total calculation displayed 
does not reflect the filtered results, leading to inaccuracies in data analysis 
and reporting.
   
   ### How to reproduce the bug
   
   1. Go to a Table that has a `search bar` and `Show Totals` enabled
   2. Populate the table
   3. Perform a search using the search bar for specific values within the 
table. I used a ticketID
   4. Observe that the table adjusts to show only the rows matching the search 
criteria.
   5. Check the "Show Total" calculation displayed at the bottom of the 
numerical column.
   6. Note that the total calculation does not adjust to reflect the filtered 
results; it continues to display the total for all values, including those not 
visible due to the search filter.
   
   ### Screenshots/recordings
   
   <img width="1262" alt="Screenshot 2024-05-02 at 9 43 04 AM" 
src="https://github.com/apache/superset/assets/23481484/e4b858d9-394d-49c2-8086-9a89284ead3c";>
   
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   When I conduct cross filtering
   <img width="1247" alt="Screenshot 2024-05-02 at 9 45 29 AM" 
src="https://github.com/apache/superset/assets/23481484/c6137890-ca0e-471d-abd1-f932d4d894cd";>
   , the Show Totals works
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to