Bug 8573

Summary: [Toaster] the page heading doesn't change when search query returns no results
Product: [Build System, Metadata & Runtime] Toaster Reporter: Cristina Agurida <cristina-danielax.agurida>
Component: toasterAssignee: Belen Barros Pena <belen.barros.pena>
Status: RESOLVED DUPLICATE QA Contact: Cristina Agurida <cristina-danielax.agurida>
Severity: enhancement    
Priority: Low CC: belen.barros.pena, jessica.zhang, stanciux.mihail
Version: 2.0   
Target Milestone: 2.2   
Hardware: x86   
OS: Multiple   
Whiteboard: GUI design pending
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
screenshot none

Description Cristina Agurida 2015-10-26 12:51:14 UTC
Created attachment 2823 [details]
screenshot

POKY: 505a82673ac2487df5ea343a6422c2fc47018831
ENVIRONMENT: Ubuntu 15.04 x86_64

STEPS TO REPRODUCE: 
 
1. Open Toaster in managed mode. 
2. Create a project
3. Open project page.
4. Select any page that have search bar(Image recipes, Software recipes, Machines, Layers).
5. Make a search query that has no result.

Expected outcome:

The page heading should change (ex: "No layers found" for "Layers" page)

Actual outcome:

The page heading doesn't change accordingly.
Comment 1 Belen Barros Pena 2015-10-26 17:33:55 UTC
This can't be a regression: it only happens in the tables that are part of the project configuration, which use tables.py. The headings of tables using tables.py never behaved that way: they never changed to show the number of results returned by a search. They use a counter in the heading instead.

I don't think it should be a bug either: it's more an enhancement. We should better report the number of search results in tables using tables.py
Comment 2 Belen Barros Pena 2016-04-25 14:03:48 UTC
Part of the "UI cleaning" work (all tables should be migrated to toaster tables, and all toaster tables should behave in the same way). Moving to 2.2
Comment 3 Belen Barros Pena 2016-04-25 15:18:07 UTC
This is a duplicate of bug 8857

*** This bug has been marked as a duplicate of bug 8857 ***