Giter Club home page Giter Club logo

Comments (17)

adubovikov avatar adubovikov commented on June 1, 2024

Hi Julian,

sorry, but i don't understand your problem. Do you have any result on first
search ?

can you provide also screenshots with all steps ?

Wbr,
Alexandr

On 26 August 2015 at 15:35, Julian Picht [email protected] wrote:

When entering search terms into the boxes in the table header this list is
filtered as expected, and also an AJAX request is launched when I press the
search button, but no additional data is displayed.

Additionally "source host" and "destination host" columns do not return
any search results, when any term is entered into the search field.

We are currently on branch master, commit 0818f7a
0818f7a
.

Anything that we can do to help troubleshoot and fix this? We do not know
anything about angular.js so we are a little bit confused where to start
looking.

Thanks!


Reply to this email directly or view it on GitHub
#22.

from homer-ui.

adubovikov avatar adubovikov commented on June 1, 2024

probably you should change timerange to display A NEW DATA ?

from homer-ui.

lmangani avatar lmangani commented on June 1, 2024

Hi,

If you are referring to the local filtering option, this should generate no queries and should work without using the search button on the data already pulled from the server.

The issue with the filtering of the Source and Destination hosts seems replicable, we are looking into it.

from homer-ui.

 avatar commented on June 1, 2024

Hi,

thanks for the fast replies. I'll try to explain it:

When filtering the list we see the local filtering action happening. That works fine, except for the two columns mentioned. What we expected to happen was, that more matching data would be fetched from the server, once we press the search button. This does not seem to happen.
We do see an ajax request going to the server and returning a lot of data, but no additional data is displayed.

Maybe this is expected behaviour because the search is supposed to be performed only on the client side, but that would render the search function rather useless for our intended application.

Thanks again!

from homer-ui.

adubovikov avatar adubovikov commented on June 1, 2024

for this two collumns, please take the last git (UI and API as well) It was just fixed.

the filter grid option is for local data store and not for remote.

from homer-ui.

lmangani avatar lmangani commented on June 1, 2024

Hi

I am afraid you misinterpreted our basic application flow. The search function is all but useless in Homer, actually its the key component all of our users rely upon. Search results are based on queries coming from a form or Dashboard containing Search Widgets as you probably discovered. This is where the query is formed and where it can be again modified or extended with additional parameters. The local filtering on the results char is a "second-tier" chained to your original results and completely local to your browser. As of pressing search again, just try changing the time-range and then push Search - you should see how this works for following target flows over time - including auto-refreshing the results.

This is how Homer always has worked for some time, it can of course be extended to behave differently but this workflow is currently used by a large group of people without any issues. Feel free and welcome to propose any idea here or on our mailing lists anytime!

from homer-ui.

adubovikov avatar adubovikov commented on June 1, 2024

any feedback ?

from homer-ui.

 avatar commented on June 1, 2024

Thanks for the quick responses, fix and the explanation!

I'll try the new version later today.

from homer-ui.

khorsmann avatar khorsmann commented on June 1, 2024

Hello guys,

i am the collegue of 4picht and we tried the updated version of homer-ui and homer-api today.
"normal search 'calls' and selected "db-node"" show now nothing :-(

Any point to investigate?

mysql> select count() from sip_capture_call_20150827;
+----------+
| count(
) |
+----------+
| 6460 |
+----------+

from homer-ui.

adubovikov avatar adubovikov commented on June 1, 2024

can you please reset profile (drop down menu on right corner ) make re-login and check again ?

from homer-ui.

khorsmann avatar khorsmann commented on June 1, 2024

Hi alexandr,

i did that and the issue is already there. No data in search list after i pressed the search button.
Other data like stats about registrations and ips shows up on the dashboard.

from homer-ui.

lmangani avatar lmangani commented on June 1, 2024

Let's see the API call sent out from the browser on SEARCH please

from homer-ui.

adubovikov avatar adubovikov commented on June 1, 2024

please also provide api response and check apache's log

from homer-ui.

khorsmann avatar khorsmann commented on June 1, 2024

image

SEARCH Request (hu? where are "calls" and "db-node"???)

{"id":"search","param":{"limit":""}}


{"param":{"transaction":{"call":true},"limit":200,"search":{"limit":""},"location":{"node":[{"id":"1","name":"homer1.a.tcom"}]}},"timestamp":{"from":1440588779394,"to":1440675179394}}

RESPONSE:
{
    "sid": "8pf20117mpn7jg37i3o611l8p4",
    "auth": "true",
    "status": 200,
    "message": "no data",
    "data": [

    ],
    "count": 0
}

httpd access-log

172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /css/dialogs.min.css HTTP/1.1" 200 343 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /css/font-awesome.min.css HTTP/1.1" 200 20766 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /css/ui-grid.min.css HTTP/1.1" 200 23054 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /css/themes/base/jquery-ui.min.css HTTP/1.1" 200 29273 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /css/homer.min.css HTTP/1.1" 200 55062 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /css/app.min.css HTTP/1.1" 200 1945 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /css/angular-dashboard-framework.min.css HTTP/1.1" 200 692 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /css/homerModal.min.css HTTP/1.1" 200 1674 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /css/sweetalert.min.css HTTP/1.1" 200 13161 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /css/bootstrap.min.css HTTP/1.1" 200 113498 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /lib/angular/angular-sanitize.min.js.map HTTP/1.1" 200 10671 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /lib/angular/angular-cookies.min.js.map HTTP/1.1" 200 2337 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /lib/angular/angular-animate.min.js.map HTTP/1.1" 200 32715 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /lib/angular-third/angular-file-upload.min.map HTTP/1.1" 200 18938 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:10 +0200] "GET /lib/angular/angular.min.js.map HTTP/1.1" 200 285064 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:24 +0200] "GET /api/v1/dashboard/store/search HTTP/1.1" 200 6559 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:24 +0200] "GET /api/v1/dashboard/store/search HTTP/1.1" 200 6559 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:25 +0200] "GET /api/v1/dashboard/node HTTP/1.1" 200 219 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:25 +0200] "GET /api/v1/dashboard/node HTTP/1.1" 200 219 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:25 +0200] "GET /api/v1/dashboard/node HTTP/1.1" 200 219 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:25 +0200] "GET /api/v1/dashboard/node HTTP/1.1" 200 219 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:27 +0200] "POST /api/v1/profile/store/search HTTP/1.1" 200 51 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:27 +0200] "POST /api/v1/profile/store/node HTTP/1.1" 200 51 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:27 +0200] "POST /api/v1/profile/store/transaction HTTP/1.1" 200 51 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:27 +0200] "POST /api/v1/search/data HTTP/1.1" 200 154 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:27 +0200] "POST /api/v1/profile/store/result HTTP/1.1" 200 51 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:47:28 +0200] "GET /img/ajax-loader.gif HTTP/1.1" 200 14883 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:49:39 +0200] "POST /api/v1/search/data HTTP/1.1" 200 154 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:49:41 +0200] "GET /api/v1/dashboard/store/search HTTP/1.1" 200 6559 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:49:41 +0200] "GET /api/v1/dashboard/node HTTP/1.1" 200 219 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:49:41 +0200] "GET /api/v1/dashboard/node HTTP/1.1" 200 219 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:49:41 +0200] "GET /api/v1/dashboard/node HTTP/1.1" 200 219 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
172.20.100.103 - - [27/Aug/2015:13:49:41 +0200] "GET /api/v1/dashboard/node HTTP/1.1" 200 219 "http://172.24.252.2/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36"
[root@homer1 ~]# httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c
[root@homer1 ~]# httpd -M
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 auth_basic_module (shared)
 auth_digest_module (shared)
 authn_file_module (shared)
 authn_alias_module (shared)
 authn_anon_module (shared)
 authn_dbm_module (shared)
 authn_default_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 authz_owner_module (shared)
 authz_groupfile_module (shared)
 authz_dbm_module (shared)
 authz_default_module (shared)
 ldap_module (shared)
 authnz_ldap_module (shared)
 include_module (shared)
 log_config_module (shared)
 logio_module (shared)
 env_module (shared)
 ext_filter_module (shared)
 mime_magic_module (shared)
 expires_module (shared)
 deflate_module (shared)
 headers_module (shared)
 usertrack_module (shared)
 setenvif_module (shared)
 mime_module (shared)
 dav_module (shared)
 status_module (shared)
 autoindex_module (shared)
 info_module (shared)
 dav_fs_module (shared)
 vhost_alias_module (shared)
 negotiation_module (shared)
 dir_module (shared)
 actions_module (shared)
 speling_module (shared)
 userdir_module (shared)
 alias_module (shared)
 substitute_module (shared)
 rewrite_module (shared)
 proxy_module (shared)
 proxy_balancer_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module (shared)
 proxy_ajp_module (shared)
 proxy_connect_module (shared)
 cache_module (shared)
 suexec_module (shared)
 disk_cache_module (shared)
 cgi_module (shared)
 version_module (shared)
 php5_module (shared)
 ssl_module (shared)
Syntax OK

from homer-ui.

adubovikov avatar adubovikov commented on June 1, 2024

please add some value to limit field

from homer-ui.

adubovikov avatar adubovikov commented on June 1, 2024

sipcapture/homer-api@4590627

from homer-ui.

khorsmann avatar khorsmann commented on June 1, 2024

Okay :-) with "limit 100" it shows now results. And my issue "no filtering" is solved too. Thanks.

from homer-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.