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

Filtering by geo_point doesn't work #415

Closed
spalger opened this issue Aug 26, 2013 · 2 comments
Closed

Filtering by geo_point doesn't work #415

spalger opened this issue Aug 26, 2013 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience

Comments

@spalger
Copy link
Contributor

spalger commented Aug 26, 2013

When you have a geo_point field and click to filter by it in the field list, I get zero results.

@spalger
Copy link
Contributor Author

spalger commented Aug 27, 2013

This appears to be caused by fact that the field's value is an array, but the micro analysis flattens the value to a string.

@spalger
Copy link
Contributor Author

spalger commented Aug 28, 2013

Closed by #431

@spalger spalger closed this as completed Aug 28, 2013
harper-carroll pushed a commit to harper-carroll/kibana that referenced this issue Jul 11, 2016
…ommandwq

Adding field for Audit Log Command
w33ble pushed a commit to w33ble/kibana that referenced this issue Sep 13, 2018
* unit tests for altercolumn

* unit tests for as

* Added tests for as

* fixed typo

* Refactored alterColumn to not mutate context. Updated unit tests for altercolumn

* Updated unit tests for as

* Updated altercolumn to return original context when name and type are not provided as args

* Added unit tests for columns. Refactored columns function to return empty array of rows if columns is empty instead of an array of empty objects

* Changed describe from 'as' to 'columns'

* Unit tests for getCell. Added throw for invalid column in getCell

* Unit tests for head

* Added functionWrapper that fills in default args

* fixed merge conflict

* Added default name for as function. Added unit test for as

* Updated tests for getCell and head

* Cleaned up unit tests for alterColumn

* Updated unit tests for as

* Cleaned up tests for columns

* Cleaned up tests for getCell

* Cleaned up tests for head

* Added unit tests for tail

* Unit tests for rowCount

* Added throw for missing column name and default for value in staticColumn. Added unit tests for staticColumn

* Removed .only from unit tests for rowCount

* Fixed typo

* Removed jsonquery function. Moving to canvas-extras

* Added alias for args._ in sort and removed aliases key from function definition

* Added logic to sort on first column by default if column isn't provided as an arg. Added unit tests for sort

* Added test for staticColumn

* Added throw for missing column name. Refactored mapColumn to not mutate context. Added unit tests for mapColumn

* Merged functionWrapper from common-tests

* Removed compare unit tests from this branch. Unit tests for compare are in PR elastic#415

* WIP: unit tests for ply

* WIP: unit tests for ply

* Fixed tests for mapColumn

* Added unit tests for ply. Add checks for missing args in ply

* Fixed unit tests for ply

* Changed functionWrapper to function_wrapper and fixed import paths. Removed .js extension in imports.

* Added check for column arg in alterColumn. Cleaned up tests for alterColumn

* Cleaned up tests for alterColumn and as

* Added tests to alterColumn

* Cleaned up columns tests

* Cleaned up getCell tests

* Cleaned up tests for head and tail

* Cleaned up mapColumn tests

* Cleaned up tests for mapColumn, ply, and sort

* Cleaned up tests for staticColumn

* Cleaned up tests

* Fixed jquery version

* Changed alterColumn, mapColumn, and staticColumn to overwrite existing columns if provided name of existing columns

* fixed tests for ply

* Fixed spacing in unit tests

* Fixed typo

* Condensed tests. Used '.and' where applicable.

* Changed getCell to default to first column if args._ is missing
w33ble pushed a commit to w33ble/kibana that referenced this issue Sep 13, 2018
* Removed grid function. No longer in use

* Removed grid from index.js

* Added type check to the compare function. Added unit tests for compare

* Added unit tests for context function

* Added unit tests for date. Installed sinon npm package to stub date contructor in date tests

* Added unit tests for formatdate

* Added unit tests for formatnumber

* Unit tests for replace

* Unit tests for rounddate

* Added unit tests for string

* Added functionWrapper to populate default args. Updated unit tests

* Cleaned up unit tests

* Updated tests for math

* Added test for string with only spaces

* Added flag arg to replace to indicate flags for regex. Added unit tests for replace

* Added moment and ISO format to date and formatdate unit tests.

* Rounddate returns context if format is not provided. Added unit tests for rounddate

* Changed functionWrapper file name to function_wrapper. Fixed imports and removed .js extensions

* Cleaned up tests for general functions

* Changed 'to.be.equal' to 'to.be' and 'to.be.eql' to 'to.eql'

* Fixed spacing. Added functionWrapper to tests for 'if'

* Fixed typo

* Added a comment for functionWrapper

* Fixed tests for compare and math

* Added context types to compare spec. Removed test comparing objects

* Removed check for a number value for args._ in date.js

* Added tests for formatdate

* Added tests for capture groups for replace

* Added test for replace

* Removed string as valid context type for rounddate. Updated tests for rounddate

* Added tests for date and formatdate

* Fixed date tests. Tests should pass in any timezone

* Fixed merge conflict

* Changed moment to moment.utc to force UTC dates. Updated tests for formatdate and rounddate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience
Projects
None yet
Development

No branches or pull requests

1 participant