Bug 8573 - [Toaster] the page heading doesn't change when search query returns no results
Summary: [Toaster] the page heading doesn't change when search query returns no results
Status: RESOLVED DUPLICATE of bug 8857
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Low enhancement
Target Milestone: 2.2
Assignee: Belen Barros Pena
QA Contact: Cristina Agurida
URL:
Whiteboard: GUI design pending
Depends on:
Blocks:
 
Reported: 2015-10-26 12:51 UTC by Cristina Agurida
Modified: 2016-04-25 15:18 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
screenshot (154.43 KB, image/png)
2015-10-26 12:51 UTC, Cristina Agurida
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***