Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In search results, time of adding the API seems to be wrong #1959

Closed
Nazarah opened this issue Dec 1, 2016 · 7 comments
Closed

In search results, time of adding the API seems to be wrong #1959

Nazarah opened this issue Dec 1, 2016 · 7 comments
Labels

Comments

@Nazarah
Copy link
Contributor

Nazarah commented Dec 1, 2016

Reproducing steps:

  1. go to https://nightly.apinf.io
  2. open search field and click on search
  3. see the search result (API adding times)
  4. wait for a minute
  5. again reload search page

Result:

  • the APIs in the top of list still has the time stamp "Added a few seconds ago", where already a minute has passed.
    It seems the times are wrong here or they don't get updated

image

Expected result:

  • search results should display accurate time of adding the APIs

Environment

  • Windows 8
  • Browser: any
@Nazarah Nazarah added the bug label Dec 1, 2016
@snittoor snittoor assigned snittoor and unassigned snittoor Dec 19, 2016
@snittoor
Copy link

screenshot from 1959

@bajiat
Copy link
Contributor

bajiat commented Dec 19, 2016

@snittoor Did you also try reloading the page like the "Steps to reproduce" suggests?

@snittoor
Copy link

Yes , i recreated it on my system (its Ubuntu and chrome browser i am using) . Attaching latest screenshot.
My cloned code is from APIKA repository.
Just created a dummy API also showing 2 min ago and other 3 hrs ago
issue_1959

@bajiat
Copy link
Contributor

bajiat commented Dec 19, 2016

@snittoor Can you also try this on nightly.apinf.io?

@marla-singer
Copy link
Contributor

@bajiat Search feature works as expected.Verified on nightly
joxi_screenshot_1482155094143 1
The problem is on API card. API "Test_data_1" has the wrong time.
joxi_screenshot_1482155094143

@bajiat
Copy link
Contributor

bajiat commented Dec 21, 2016

@marla-singer Thanks for commenting. We should close the issue. Not sure if we need to open one for the API cards. The APIs with the info "Added a few seconds ago" were APIs that were either migrated or synced from Umbrella

@brylie
Copy link
Contributor

brylie commented Dec 21, 2016

Jep. Lets make sure we have an open issue for the API cards.

@bajiat bajiat added icebox and removed planning labels Jan 4, 2017
@bajiat bajiat closed this as completed Feb 8, 2017
@bajiat bajiat removed the icebox label Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants