Adding a static function countAllByFilter($graph_id, $filter)

A static function which returns the number of Lines which pass the filter on Target and Alias for a given Graph
Adding a static function countAllByFilter($dashboard_id, $filter)

A static function which returns the number of Graphs which pass the filter on Name, Vtitle and Description for a given Dashboard
Performance & user experience improvement

1. No request is sent if entered text's length is less than 3
2. The original table is only hidden when a request has been sent, and will reappear when the search input becomes empty again
3. The table for search results is hidden by default, it shows when a request has been sent, and will be hidden again if user empties the search input
4. Text used for latest SENT request is temporarily saved in order not to send twice the same request. This means if user re-enters the exact same text after having emptied the input, no request need to be sent since the results were only hidden and can be re-shown immediately
Performance improvement & cleaning

1. Dead codes removed
2. Using newly added static function in Line to improve performance
3. Case-insensitive search
Performance improvement & cleaning

1. Dead codes removed
2. Using newly added static function in Line to improve performance
3. Case-insensitive search
4. Missing condition added
5. Correct wrongly named variable
Performance & user experience improvement

1. No request is sent if entered text's length is less than 3
2. The original table is only hidden when a request has been sent, and will reappear when the search input becomes empty again
3. The table for search results is hidden by default, it shows when a request has been sent, and will be hidden again if user empties the search input. This means if user re-enters the same text once again, no request will be sent since the same hidden table will be shown
4. Text used for latest sent request is temporarily saved in order not to send twice the same request
5. Bubbles indicating number of Lines passing the filter are removed from the original table
Performance & user experience improvement

1. No request is sent if entered text's length is less than 3
2. The original table is only hidden when a request has been sent, and will reappear when the search input becomes empty again
3. The table for search results is hidden by default, it shows when a request has been sent, and will be hidden again if user empties the search input. This means if user re-enters the same text once again, no request will be sent since the same hidden table will be shown
4. Text used for latest sent request is temporarily saved in order not to send twice the same request
5. Bubbles indicating number of Graphs/Lines passing the filter are removed from the original table
6. A loader is shown when search results are being fetched from the server