Quantcast

Filtering names

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Filtering names

Peter Kidd
I'm probably being dumb, but I can't find the answer to this.

When displaying the 'People' category I can use the 'Name' field to
filter the people displayed either by entering "John" to get all the
people called John, or by entering "Smith" to get all the people
called Smith, but it seems that I cannot enter "John Smith", "Smith
John", Smith, John", "Smith, J", or any other permutation to get all
the people called John Smith. Surely there must be a way to filter on
forename+surname, but I have not found it.

Help would be appreciated!

Cheers,

Peter

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

Jeff Hunt
>From memory so beware  but the trick is to make sure you are on the People tab.
Then the search box on the right should work.

On 21/04/2012, Peter Kidd <[hidden email]> wrote:

> I'm probably being dumb, but I can't find the answer to this.
>
> When displaying the 'People' category I can use the 'Name' field to
> filter the people displayed either by entering "John" to get all the
> people called John, or by entering "Smith" to get all the people
> called Smith, but it seems that I cannot enter "John Smith", "Smith
> John", Smith, John", "Smith, J", or any other permutation to get all
> the people called John Smith. Surely there must be a way to filter on
> forename+surname, but I have not found it.
>
> Help would be appreciated!
>
> Cheers,
>
> Peter
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Gramps-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-users
>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

Peter Kidd
Unless I have misunderstood something fundamental, what Jeff seems to
be describing is what I am already doing.

Can anything think what I might be doing wrong?  Of the various search
phrases I mentioned, which should work?

I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1, and
GRAMPS 3.3.1-1. Would it help if I post some screenshots?

Thanks in advance ...

On 20 April 2012 22:31, Jeff Hunt <[hidden email]> wrote:

> From memory so beware  but the trick is to make sure you are on the People tab.
> Then the search box on the right should work.
>
> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>> I'm probably being dumb, but I can't find the answer to this.
>>
>> When displaying the 'People' category I can use the 'Name' field to
>> filter the people displayed either by entering "John" to get all the
>> people called John, or by entering "Smith" to get all the people
>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>> John", Smith, John", "Smith, J", or any other permutation to get all
>> the people called John Smith. Surely there must be a way to filter on
>> forename+surname, but I have not found it.
>>
>> Help would be appreciated!
>>
>> Cheers,
>>
>> Peter
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Gramps-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

Jeff Hunt
Hi Peter, I rushed in without checking what you had done. After
consulting the wife who uses Gramps a lot we came up with:---

Go to the filter screen as you have been doing. Select Custom Filter -
by clicking on the pencil - then create a rule from the rule list.
Give the filter a name. Go to general filters by clicking on the + and
scroll down. We selected 'People with the <Name>' and then filled in
the value for given name and family name in the appropriate text
boxes.

Then return to ordinary filter and select the named custom filter and find.

If this is not clear you can ask again privately.

-J

On 21/04/2012, Peter Kidd <[hidden email]> wrote:

> Unless I have misunderstood something fundamental, what Jeff seems to
> be describing is what I am already doing.
>
> Can anything think what I might be doing wrong?  Of the various search
> phrases I mentioned, which should work?
>
> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1, and
> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>
> Thanks in advance ...
>
> On 20 April 2012 22:31, Jeff Hunt <[hidden email]> wrote:
>> From memory so beware  but the trick is to make sure you are on the People
>> tab.
>> Then the search box on the right should work.
>>
>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>> I'm probably being dumb, but I can't find the answer to this.
>>>
>>> When displaying the 'People' category I can use the 'Name' field to
>>> filter the people displayed either by entering "John" to get all the
>>> people called John, or by entering "Smith" to get all the people
>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>>> John", Smith, John", "Smith, J", or any other permutation to get all
>>> the people called John Smith. Surely there must be a way to filter on
>>> forename+surname, but I have not found it.
>>>
>>> Help would be appreciated!
>>>
>>> Cheers,
>>>
>>> Peter
>>>
>>> ------------------------------------------------------------------------------
>>> For Developers, A Lot Can Happen In A Second.
>>> Boundary is the first to Know...and Tell You.
>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>> _______________________________________________
>>> Gramps-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Gramps-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-users
>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

Peter Kidd
Dear Jeff,

Thanks for this. I can see how your method would work, but it seems
like an extraordinarily complex way of doing one of the very simplest
things one might want to do with a filter: find people with a
particular name! (I find I hard to believe that GRAMPS has been in
development for so long and that there is not a simpler way of doing
this. There is, after all, already a filter field called "Name" --
it's just that it seems designed to filter on surname or forename but
not both.)

Can anyone else jump in with suggestions, or explain why this is not
something that has come up before as a requested feature?

Cheers,

Peter

On 22 April 2012 06:25, Jeff Hunt <[hidden email]> wrote:

> Hi Peter, I rushed in without checking what you had done. After
> consulting the wife who uses Gramps a lot we came up with:---
>
> Go to the filter screen as you have been doing. Select Custom Filter -
> by clicking on the pencil - then create a rule from the rule list.
> Give the filter a name. Go to general filters by clicking on the + and
> scroll down. We selected 'People with the <Name>' and then filled in
> the value for given name and family name in the appropriate text
> boxes.
>
> Then return to ordinary filter and select the named custom filter and find.
>
> If this is not clear you can ask again privately.
>
> -J
>
> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>> Unless I have misunderstood something fundamental, what Jeff seems to
>> be describing is what I am already doing.
>>
>> Can anything think what I might be doing wrong?  Of the various search
>> phrases I mentioned, which should work?
>>
>> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1, and
>> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>>
>> Thanks in advance ...
>>
>> On 20 April 2012 22:31, Jeff Hunt <[hidden email]> wrote:
>>> From memory so beware  but the trick is to make sure you are on the People
>>> tab.
>>> Then the search box on the right should work.
>>>
>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>> I'm probably being dumb, but I can't find the answer to this.
>>>>
>>>> When displaying the 'People' category I can use the 'Name' field to
>>>> filter the people displayed either by entering "John" to get all the
>>>> people called John, or by entering "Smith" to get all the people
>>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>>>> John", Smith, John", "Smith, J", or any other permutation to get all
>>>> the people called John Smith. Surely there must be a way to filter on
>>>> forename+surname, but I have not found it.
>>>>
>>>> Help would be appreciated!
>>>>
>>>> Cheers,
>>>>
>>>> Peter
>>>>
>>>> ------------------------------------------------------------------------------
>>>> For Developers, A Lot Can Happen In A Second.
>>>> Boundary is the first to Know...and Tell You.
>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>> _______________________________________________
>>>> Gramps-users mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Gramps-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

DS Blank
On Mon, Apr 23, 2012 at 5:44 AM, Peter Kidd <[hidden email]> wrote:

> Dear Jeff,
>
> Thanks for this. I can see how your method would work, but it seems
> like an extraordinarily complex way of doing one of the very simplest
> things one might want to do with a filter: find people with a
> particular name! (I find I hard to believe that GRAMPS has been in
> development for so long and that there is not a simpler way of doing
> this. There is, after all, already a filter field called "Name" --
> it's just that it seems designed to filter on surname or forename but
> not both.)
>
> Can anyone else jump in with suggestions, or explain why this is not
> something that has come up before as a requested feature?

The search functionality is a little confusing, and we want to clean
that up at some point. But you can easily do what you want.

First, there are two different mechanisms for searching: the top bar
Search and the side/bottom bar Filter. The top bar Search only appears
when the entire sidebar is closed. You can close/open the
Sidebar/bottombar  through menu -> View.

Search and Filter work completely differently and it is useful to
understand these differences:

Search - the top bar search looks through the database as it appears
in the rows and columns on the screen. For example, if you have the
Name Display in Preferences set to show "Surname, Given" then you can
match names as you originally tried with "Smith, J" and all of those
rows will match. But if you change the way that names are displayed
(in Preferences) then you will match that.  The Search functionality
is probably the one you want to use most of the time, as it is most
straightforward, but has some limitations (see below).

Filter - the side/bottom bar Filters use a more complex system. It is
not limited to what you see on the screen, but looks at the actual
data. The name search will try to match on any single name part
(given, surname, prefix, etc) of all names but appears to only match
one---you can't match part of given and part of surname as you were
first attempting. You can match surname, but not surname and given in
the same name. (If you Filter on "John", you will get matches of
people with firstname "John" but also those with surname "Johnson".
You just can't filter on combinations of first and lastnames, as you
were attempting).

Some additional points:

* The Filter will search alternative names too; Search only looks in
the primary name (the one showing). That is why if you do a Filter on
"Smith" you might see people listed that don't appear to match. But if
you edit that person's details, you might see that they have an
alternate name containing "smith".

* You can open a bottom bar filter with top bar search, but that seems
buggy; best to use filters only in the sidebar.

* The Filter allows "regular expressions". So you can find all of the
names that start with "B" and end in "ship": "B*ship". You can't do
that with the top bar Search.

* The Search will only match what is visible. If a name or text is too
big to see in listing below topbar, then you won't find it. This is
something to keep in mind when Searching through Notes. Best to use
Filter for notes and other long text fields.

Hope this helps! And I hope that we can integrate these two different
systems into one that can do it all.

-Doug

> Cheers,
>
> Peter
>
> On 22 April 2012 06:25, Jeff Hunt <[hidden email]> wrote:
>> Hi Peter, I rushed in without checking what you had done. After
>> consulting the wife who uses Gramps a lot we came up with:---
>>
>> Go to the filter screen as you have been doing. Select Custom Filter -
>> by clicking on the pencil - then create a rule from the rule list.
>> Give the filter a name. Go to general filters by clicking on the + and
>> scroll down. We selected 'People with the <Name>' and then filled in
>> the value for given name and family name in the appropriate text
>> boxes.
>>
>> Then return to ordinary filter and select the named custom filter and find.
>>
>> If this is not clear you can ask again privately.
>>
>> -J
>>
>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>> Unless I have misunderstood something fundamental, what Jeff seems to
>>> be describing is what I am already doing.
>>>
>>> Can anything think what I might be doing wrong?  Of the various search
>>> phrases I mentioned, which should work?
>>>
>>> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1, and
>>> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>>>
>>> Thanks in advance ...
>>>
>>> On 20 April 2012 22:31, Jeff Hunt <[hidden email]> wrote:
>>>> From memory so beware  but the trick is to make sure you are on the People
>>>> tab.
>>>> Then the search box on the right should work.
>>>>
>>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>>> I'm probably being dumb, but I can't find the answer to this.
>>>>>
>>>>> When displaying the 'People' category I can use the 'Name' field to
>>>>> filter the people displayed either by entering "John" to get all the
>>>>> people called John, or by entering "Smith" to get all the people
>>>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>>>>> John", Smith, John", "Smith, J", or any other permutation to get all
>>>>> the people called John Smith. Surely there must be a way to filter on
>>>>> forename+surname, but I have not found it.
>>>>>
>>>>> Help would be appreciated!
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Peter
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> For Developers, A Lot Can Happen In A Second.
>>>>> Boundary is the first to Know...and Tell You.
>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>> _______________________________________________
>>>>> Gramps-users mailing list
>>>>> [hidden email]
>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> For Developers, A Lot Can Happen In A Second.
>>> Boundary is the first to Know...and Tell You.
>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>> _______________________________________________
>>> Gramps-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Gramps-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

Peter Kidd
Dear Doug,

Many thanks for this; a very useful summary and explanation. I hope it
could be incorporated into the documentation.

Peter

On 24 April 2012 12:56, Doug Blank <[hidden email]> wrote:

> On Mon, Apr 23, 2012 at 5:44 AM, Peter Kidd <[hidden email]> wrote:
>> Dear Jeff,
>>
>> Thanks for this. I can see how your method would work, but it seems
>> like an extraordinarily complex way of doing one of the very simplest
>> things one might want to do with a filter: find people with a
>> particular name! (I find I hard to believe that GRAMPS has been in
>> development for so long and that there is not a simpler way of doing
>> this. There is, after all, already a filter field called "Name" --
>> it's just that it seems designed to filter on surname or forename but
>> not both.)
>>
>> Can anyone else jump in with suggestions, or explain why this is not
>> something that has come up before as a requested feature?
>
> The search functionality is a little confusing, and we want to clean
> that up at some point. But you can easily do what you want.
>
> First, there are two different mechanisms for searching: the top bar
> Search and the side/bottom bar Filter. The top bar Search only appears
> when the entire sidebar is closed. You can close/open the
> Sidebar/bottombar  through menu -> View.
>
> Search and Filter work completely differently and it is useful to
> understand these differences:
>
> Search - the top bar search looks through the database as it appears
> in the rows and columns on the screen. For example, if you have the
> Name Display in Preferences set to show "Surname, Given" then you can
> match names as you originally tried with "Smith, J" and all of those
> rows will match. But if you change the way that names are displayed
> (in Preferences) then you will match that.  The Search functionality
> is probably the one you want to use most of the time, as it is most
> straightforward, but has some limitations (see below).
>
> Filter - the side/bottom bar Filters use a more complex system. It is
> not limited to what you see on the screen, but looks at the actual
> data. The name search will try to match on any single name part
> (given, surname, prefix, etc) of all names but appears to only match
> one---you can't match part of given and part of surname as you were
> first attempting. You can match surname, but not surname and given in
> the same name. (If you Filter on "John", you will get matches of
> people with firstname "John" but also those with surname "Johnson".
> You just can't filter on combinations of first and lastnames, as you
> were attempting).
>
> Some additional points:
>
> * The Filter will search alternative names too; Search only looks in
> the primary name (the one showing). That is why if you do a Filter on
> "Smith" you might see people listed that don't appear to match. But if
> you edit that person's details, you might see that they have an
> alternate name containing "smith".
>
> * You can open a bottom bar filter with top bar search, but that seems
> buggy; best to use filters only in the sidebar.
>
> * The Filter allows "regular expressions". So you can find all of the
> names that start with "B" and end in "ship": "B*ship". You can't do
> that with the top bar Search.
>
> * The Search will only match what is visible. If a name or text is too
> big to see in listing below topbar, then you won't find it. This is
> something to keep in mind when Searching through Notes. Best to use
> Filter for notes and other long text fields.
>
> Hope this helps! And I hope that we can integrate these two different
> systems into one that can do it all.
>
> -Doug
>
>> Cheers,
>>
>> Peter
>>
>> On 22 April 2012 06:25, Jeff Hunt <[hidden email]> wrote:
>>> Hi Peter, I rushed in without checking what you had done. After
>>> consulting the wife who uses Gramps a lot we came up with:---
>>>
>>> Go to the filter screen as you have been doing. Select Custom Filter -
>>> by clicking on the pencil - then create a rule from the rule list.
>>> Give the filter a name. Go to general filters by clicking on the + and
>>> scroll down. We selected 'People with the <Name>' and then filled in
>>> the value for given name and family name in the appropriate text
>>> boxes.
>>>
>>> Then return to ordinary filter and select the named custom filter and find.
>>>
>>> If this is not clear you can ask again privately.
>>>
>>> -J
>>>
>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>> Unless I have misunderstood something fundamental, what Jeff seems to
>>>> be describing is what I am already doing.
>>>>
>>>> Can anything think what I might be doing wrong?  Of the various search
>>>> phrases I mentioned, which should work?
>>>>
>>>> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1, and
>>>> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>>>>
>>>> Thanks in advance ...
>>>>
>>>> On 20 April 2012 22:31, Jeff Hunt <[hidden email]> wrote:
>>>>> From memory so beware  but the trick is to make sure you are on the People
>>>>> tab.
>>>>> Then the search box on the right should work.
>>>>>
>>>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>>>> I'm probably being dumb, but I can't find the answer to this.
>>>>>>
>>>>>> When displaying the 'People' category I can use the 'Name' field to
>>>>>> filter the people displayed either by entering "John" to get all the
>>>>>> people called John, or by entering "Smith" to get all the people
>>>>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>>>>>> John", Smith, John", "Smith, J", or any other permutation to get all
>>>>>> the people called John Smith. Surely there must be a way to filter on
>>>>>> forename+surname, but I have not found it.
>>>>>>
>>>>>> Help would be appreciated!
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Peter
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> For Developers, A Lot Can Happen In A Second.
>>>>>> Boundary is the first to Know...and Tell You.
>>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>>> _______________________________________________
>>>>>> Gramps-users mailing list
>>>>>> [hidden email]
>>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> For Developers, A Lot Can Happen In A Second.
>>>> Boundary is the first to Know...and Tell You.
>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>> _______________________________________________
>>>> Gramps-users mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Gramps-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gramps-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

LornaJ
Is there a list anywhere of the regular expressions which can be used in the filter?
Thanks.

On 24 April 2012 15:22, Peter Kidd <[hidden email]> wrote:
Dear Doug,

Many thanks for this; a very useful summary and explanation. I hope it
could be incorporated into the documentation.

Peter

On 24 April 2012 12:56, Doug Blank <[hidden email]> wrote:
> On Mon, Apr 23, 2012 at 5:44 AM, Peter Kidd <[hidden email]> wrote:
>> Dear Jeff,
>>
>> Thanks for this. I can see how your method would work, but it seems
>> like an extraordinarily complex way of doing one of the very simplest
>> things one might want to do with a filter: find people with a
>> particular name! (I find I hard to believe that GRAMPS has been in
>> development for so long and that there is not a simpler way of doing
>> this. There is, after all, already a filter field called "Name" --
>> it's just that it seems designed to filter on surname or forename but
>> not both.)
>>
>> Can anyone else jump in with suggestions, or explain why this is not
>> something that has come up before as a requested feature?
>
> The search functionality is a little confusing, and we want to clean
> that up at some point. But you can easily do what you want.
>
> First, there are two different mechanisms for searching: the top bar
> Search and the side/bottom bar Filter. The top bar Search only appears
> when the entire sidebar is closed. You can close/open the
> Sidebar/bottombar  through menu -> View.
>
> Search and Filter work completely differently and it is useful to
> understand these differences:
>
> Search - the top bar search looks through the database as it appears
> in the rows and columns on the screen. For example, if you have the
> Name Display in Preferences set to show "Surname, Given" then you can
> match names as you originally tried with "Smith, J" and all of those
> rows will match. But if you change the way that names are displayed
> (in Preferences) then you will match that.  The Search functionality
> is probably the one you want to use most of the time, as it is most
> straightforward, but has some limitations (see below).
>
> Filter - the side/bottom bar Filters use a more complex system. It is
> not limited to what you see on the screen, but looks at the actual
> data. The name search will try to match on any single name part
> (given, surname, prefix, etc) of all names but appears to only match
> one---you can't match part of given and part of surname as you were
> first attempting. You can match surname, but not surname and given in
> the same name. (If you Filter on "John", you will get matches of
> people with firstname "John" but also those with surname "Johnson".
> You just can't filter on combinations of first and lastnames, as you
> were attempting).
>
> Some additional points:
>
> * The Filter will search alternative names too; Search only looks in
> the primary name (the one showing). That is why if you do a Filter on
> "Smith" you might see people listed that don't appear to match. But if
> you edit that person's details, you might see that they have an
> alternate name containing "smith".
>
> * You can open a bottom bar filter with top bar search, but that seems
> buggy; best to use filters only in the sidebar.
>
> * The Filter allows "regular expressions". So you can find all of the
> names that start with "B" and end in "ship": "B*ship". You can't do
> that with the top bar Search.
>
> * The Search will only match what is visible. If a name or text is too
> big to see in listing below topbar, then you won't find it. This is
> something to keep in mind when Searching through Notes. Best to use
> Filter for notes and other long text fields.
>
> Hope this helps! And I hope that we can integrate these two different
> systems into one that can do it all.
>
> -Doug
>
>> Cheers,
>>
>> Peter
>>
>> On 22 April 2012 06:25, Jeff Hunt <[hidden email]> wrote:
>>> Hi Peter, I rushed in without checking what you had done. After
>>> consulting the wife who uses Gramps a lot we came up with:---
>>>
>>> Go to the filter screen as you have been doing. Select Custom Filter -
>>> by clicking on the pencil - then create a rule from the rule list.
>>> Give the filter a name. Go to general filters by clicking on the + and
>>> scroll down. We selected 'People with the <Name>' and then filled in
>>> the value for given name and family name in the appropriate text
>>> boxes.
>>>
>>> Then return to ordinary filter and select the named custom filter and find.
>>>
>>> If this is not clear you can ask again privately.
>>>
>>> -J
>>>
>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>> Unless I have misunderstood something fundamental, what Jeff seems to
>>>> be describing is what I am already doing.
>>>>
>>>> Can anything think what I might be doing wrong?  Of the various search
>>>> phrases I mentioned, which should work?
>>>>
>>>> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1, and
>>>> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>>>>
>>>> Thanks in advance ...
>>>>
>>>> On 20 April 2012 22:31, Jeff Hunt <[hidden email]> wrote:
>>>>> From memory so beware  but the trick is to make sure you are on the People
>>>>> tab.
>>>>> Then the search box on the right should work.
>>>>>
>>>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>>>> I'm probably being dumb, but I can't find the answer to this.
>>>>>>
>>>>>> When displaying the 'People' category I can use the 'Name' field to
>>>>>> filter the people displayed either by entering "John" to get all the
>>>>>> people called John, or by entering "Smith" to get all the people
>>>>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>>>>>> John", Smith, John", "Smith, J", or any other permutation to get all
>>>>>> the people called John Smith. Surely there must be a way to filter on
>>>>>> forename+surname, but I have not found it.
>>>>>>
>>>>>> Help would be appreciated!
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Peter
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> For Developers, A Lot Can Happen In A Second.
>>>>>> Boundary is the first to Know...and Tell You.
>>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>>> _______________________________________________
>>>>>> Gramps-users mailing list
>>>>>> [hidden email]
>>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> For Developers, A Lot Can Happen In A Second.
>>>> Boundary is the first to Know...and Tell You.
>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>> _______________________________________________
>>>> Gramps-users mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>
>>
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Gramps-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gramps-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

DS Blank
In reply to this post by Peter Kidd
On Tue, Apr 24, 2012 at 9:22 AM, Peter Kidd <[hidden email]> wrote:
> Dear Doug,
>
> Many thanks for this; a very useful summary and explanation. I hope it
> could be incorporated into the documentation.

You're welcome! In fact, anyone can turn your hope into reality...
anyone can edit the Gramps wiki to add detail or ask questions.

I'm not a wiki or documentation expert, but someone will correct what
we contribute. I couldn't find any particular page that addressed
these issues, so I stuck it at the top of:

http://www.gramps-project.org/wiki/index.php?title=Gramps_3.4_Wiki_Manual_-_Filters

I added this to an upcoming Gramps 3.4 page, so that it will be copied
forward to future versions (the Gramps 3.4 manual pages were copied
from Gramps 3.3 pages just a short while ago). Anyone can copy this
back to Gramps 3.3 pages, and to other languages.

-Doug

> Peter
>
> On 24 April 2012 12:56, Doug Blank <[hidden email]> wrote:
>> On Mon, Apr 23, 2012 at 5:44 AM, Peter Kidd <[hidden email]> wrote:
>>> Dear Jeff,
>>>
>>> Thanks for this. I can see how your method would work, but it seems
>>> like an extraordinarily complex way of doing one of the very simplest
>>> things one might want to do with a filter: find people with a
>>> particular name! (I find I hard to believe that GRAMPS has been in
>>> development for so long and that there is not a simpler way of doing
>>> this. There is, after all, already a filter field called "Name" --
>>> it's just that it seems designed to filter on surname or forename but
>>> not both.)
>>>
>>> Can anyone else jump in with suggestions, or explain why this is not
>>> something that has come up before as a requested feature?
>>
>> The search functionality is a little confusing, and we want to clean
>> that up at some point. But you can easily do what you want.
>>
>> First, there are two different mechanisms for searching: the top bar
>> Search and the side/bottom bar Filter. The top bar Search only appears
>> when the entire sidebar is closed. You can close/open the
>> Sidebar/bottombar  through menu -> View.
>>
>> Search and Filter work completely differently and it is useful to
>> understand these differences:
>>
>> Search - the top bar search looks through the database as it appears
>> in the rows and columns on the screen. For example, if you have the
>> Name Display in Preferences set to show "Surname, Given" then you can
>> match names as you originally tried with "Smith, J" and all of those
>> rows will match. But if you change the way that names are displayed
>> (in Preferences) then you will match that.  The Search functionality
>> is probably the one you want to use most of the time, as it is most
>> straightforward, but has some limitations (see below).
>>
>> Filter - the side/bottom bar Filters use a more complex system. It is
>> not limited to what you see on the screen, but looks at the actual
>> data. The name search will try to match on any single name part
>> (given, surname, prefix, etc) of all names but appears to only match
>> one---you can't match part of given and part of surname as you were
>> first attempting. You can match surname, but not surname and given in
>> the same name. (If you Filter on "John", you will get matches of
>> people with firstname "John" but also those with surname "Johnson".
>> You just can't filter on combinations of first and lastnames, as you
>> were attempting).
>>
>> Some additional points:
>>
>> * The Filter will search alternative names too; Search only looks in
>> the primary name (the one showing). That is why if you do a Filter on
>> "Smith" you might see people listed that don't appear to match. But if
>> you edit that person's details, you might see that they have an
>> alternate name containing "smith".
>>
>> * You can open a bottom bar filter with top bar search, but that seems
>> buggy; best to use filters only in the sidebar.
>>
>> * The Filter allows "regular expressions". So you can find all of the
>> names that start with "B" and end in "ship": "B*ship". You can't do
>> that with the top bar Search.
>>
>> * The Search will only match what is visible. If a name or text is too
>> big to see in listing below topbar, then you won't find it. This is
>> something to keep in mind when Searching through Notes. Best to use
>> Filter for notes and other long text fields.
>>
>> Hope this helps! And I hope that we can integrate these two different
>> systems into one that can do it all.
>>
>> -Doug
>>
>>> Cheers,
>>>
>>> Peter
>>>
>>> On 22 April 2012 06:25, Jeff Hunt <[hidden email]> wrote:
>>>> Hi Peter, I rushed in without checking what you had done. After
>>>> consulting the wife who uses Gramps a lot we came up with:---
>>>>
>>>> Go to the filter screen as you have been doing. Select Custom Filter -
>>>> by clicking on the pencil - then create a rule from the rule list.
>>>> Give the filter a name. Go to general filters by clicking on the + and
>>>> scroll down. We selected 'People with the <Name>' and then filled in
>>>> the value for given name and family name in the appropriate text
>>>> boxes.
>>>>
>>>> Then return to ordinary filter and select the named custom filter and find.
>>>>
>>>> If this is not clear you can ask again privately.
>>>>
>>>> -J
>>>>
>>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>>> Unless I have misunderstood something fundamental, what Jeff seems to
>>>>> be describing is what I am already doing.
>>>>>
>>>>> Can anything think what I might be doing wrong?  Of the various search
>>>>> phrases I mentioned, which should work?
>>>>>
>>>>> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1, and
>>>>> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>>>>>
>>>>> Thanks in advance ...
>>>>>
>>>>> On 20 April 2012 22:31, Jeff Hunt <[hidden email]> wrote:
>>>>>> From memory so beware  but the trick is to make sure you are on the People
>>>>>> tab.
>>>>>> Then the search box on the right should work.
>>>>>>
>>>>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>>>>> I'm probably being dumb, but I can't find the answer to this.
>>>>>>>
>>>>>>> When displaying the 'People' category I can use the 'Name' field to
>>>>>>> filter the people displayed either by entering "John" to get all the
>>>>>>> people called John, or by entering "Smith" to get all the people
>>>>>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>>>>>>> John", Smith, John", "Smith, J", or any other permutation to get all
>>>>>>> the people called John Smith. Surely there must be a way to filter on
>>>>>>> forename+surname, but I have not found it.
>>>>>>>
>>>>>>> Help would be appreciated!
>>>>>>>
>>>>>>> Cheers,
>>>>>>>
>>>>>>> Peter
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> For Developers, A Lot Can Happen In A Second.
>>>>>>> Boundary is the first to Know...and Tell You.
>>>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>>>> _______________________________________________
>>>>>>> Gramps-users mailing list
>>>>>>> [hidden email]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> For Developers, A Lot Can Happen In A Second.
>>>>> Boundary is the first to Know...and Tell You.
>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>> _______________________________________________
>>>>> Gramps-users mailing list
>>>>> [hidden email]
>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> For Developers, A Lot Can Happen In A Second.
>>> Boundary is the first to Know...and Tell You.
>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>> _______________________________________________
>>> Gramps-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/gramps-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

DS Blank
In reply to this post by LornaJ
On Tue, Apr 24, 2012 at 9:33 AM, b4m <[hidden email]> wrote:
> Is there a list anywhere of the regular expressions which can be used in the
> filter?

I couldn't find anything to document the regular expression use in
Gramps, so I added it to:

http://www.gramps-project.org/wiki/index.php?title=Gramps_3.4_Wiki_Manual_-_Filters

There is a lot to Regular Expressions, which is why no one (that I
see) has added it to the Gramps wiki. But we really need to, because
it is so powerful and not easy.

Perhaps more people can add to the Examples there. In fact, if you
would like to add a pattern that you would like to use, perhaps
someone can show you how in the examples.

-Doug

> Thanks.
>
> On 24 April 2012 15:22, Peter Kidd <[hidden email]> wrote:
>>
>> Dear Doug,
>>
>> Many thanks for this; a very useful summary and explanation. I hope it
>> could be incorporated into the documentation.
>>
>> Peter
>>
>> On 24 April 2012 12:56, Doug Blank <[hidden email]> wrote:
>> > On Mon, Apr 23, 2012 at 5:44 AM, Peter Kidd <[hidden email]> wrote:
>> >> Dear Jeff,
>> >>
>> >> Thanks for this. I can see how your method would work, but it seems
>> >> like an extraordinarily complex way of doing one of the very simplest
>> >> things one might want to do with a filter: find people with a
>> >> particular name! (I find I hard to believe that GRAMPS has been in
>> >> development for so long and that there is not a simpler way of doing
>> >> this. There is, after all, already a filter field called "Name" --
>> >> it's just that it seems designed to filter on surname or forename but
>> >> not both.)
>> >>
>> >> Can anyone else jump in with suggestions, or explain why this is not
>> >> something that has come up before as a requested feature?
>> >
>> > The search functionality is a little confusing, and we want to clean
>> > that up at some point. But you can easily do what you want.
>> >
>> > First, there are two different mechanisms for searching: the top bar
>> > Search and the side/bottom bar Filter. The top bar Search only appears
>> > when the entire sidebar is closed. You can close/open the
>> > Sidebar/bottombar  through menu -> View.
>> >
>> > Search and Filter work completely differently and it is useful to
>> > understand these differences:
>> >
>> > Search - the top bar search looks through the database as it appears
>> > in the rows and columns on the screen. For example, if you have the
>> > Name Display in Preferences set to show "Surname, Given" then you can
>> > match names as you originally tried with "Smith, J" and all of those
>> > rows will match. But if you change the way that names are displayed
>> > (in Preferences) then you will match that.  The Search functionality
>> > is probably the one you want to use most of the time, as it is most
>> > straightforward, but has some limitations (see below).
>> >
>> > Filter - the side/bottom bar Filters use a more complex system. It is
>> > not limited to what you see on the screen, but looks at the actual
>> > data. The name search will try to match on any single name part
>> > (given, surname, prefix, etc) of all names but appears to only match
>> > one---you can't match part of given and part of surname as you were
>> > first attempting. You can match surname, but not surname and given in
>> > the same name. (If you Filter on "John", you will get matches of
>> > people with firstname "John" but also those with surname "Johnson".
>> > You just can't filter on combinations of first and lastnames, as you
>> > were attempting).
>> >
>> > Some additional points:
>> >
>> > * The Filter will search alternative names too; Search only looks in
>> > the primary name (the one showing). That is why if you do a Filter on
>> > "Smith" you might see people listed that don't appear to match. But if
>> > you edit that person's details, you might see that they have an
>> > alternate name containing "smith".
>> >
>> > * You can open a bottom bar filter with top bar search, but that seems
>> > buggy; best to use filters only in the sidebar.
>> >
>> > * The Filter allows "regular expressions". So you can find all of the
>> > names that start with "B" and end in "ship": "B*ship". You can't do
>> > that with the top bar Search.
>> >
>> > * The Search will only match what is visible. If a name or text is too
>> > big to see in listing below topbar, then you won't find it. This is
>> > something to keep in mind when Searching through Notes. Best to use
>> > Filter for notes and other long text fields.
>> >
>> > Hope this helps! And I hope that we can integrate these two different
>> > systems into one that can do it all.
>> >
>> > -Doug
>> >
>> >> Cheers,
>> >>
>> >> Peter
>> >>
>> >> On 22 April 2012 06:25, Jeff Hunt <[hidden email]> wrote:
>> >>> Hi Peter, I rushed in without checking what you had done. After
>> >>> consulting the wife who uses Gramps a lot we came up with:---
>> >>>
>> >>> Go to the filter screen as you have been doing. Select Custom Filter -
>> >>> by clicking on the pencil - then create a rule from the rule list.
>> >>> Give the filter a name. Go to general filters by clicking on the + and
>> >>> scroll down. We selected 'People with the <Name>' and then filled in
>> >>> the value for given name and family name in the appropriate text
>> >>> boxes.
>> >>>
>> >>> Then return to ordinary filter and select the named custom filter and
>> >>> find.
>> >>>
>> >>> If this is not clear you can ask again privately.
>> >>>
>> >>> -J
>> >>>
>> >>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>> >>>> Unless I have misunderstood something fundamental, what Jeff seems to
>> >>>> be describing is what I am already doing.
>> >>>>
>> >>>> Can anything think what I might be doing wrong?  Of the various
>> >>>> search
>> >>>> phrases I mentioned, which should work?
>> >>>>
>> >>>> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1,
>> >>>> and
>> >>>> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>> >>>>
>> >>>> Thanks in advance ...
>> >>>>
>> >>>> On 20 April 2012 22:31, Jeff Hunt <[hidden email]> wrote:
>> >>>>> From memory so beware  but the trick is to make sure you are on the
>> >>>>> People
>> >>>>> tab.
>> >>>>> Then the search box on the right should work.
>> >>>>>
>> >>>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>> >>>>>> I'm probably being dumb, but I can't find the answer to this.
>> >>>>>>
>> >>>>>> When displaying the 'People' category I can use the 'Name' field to
>> >>>>>> filter the people displayed either by entering "John" to get all
>> >>>>>> the
>> >>>>>> people called John, or by entering "Smith" to get all the people
>> >>>>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>> >>>>>> John", Smith, John", "Smith, J", or any other permutation to get
>> >>>>>> all
>> >>>>>> the people called John Smith. Surely there must be a way to filter
>> >>>>>> on
>> >>>>>> forename+surname, but I have not found it.
>> >>>>>>
>> >>>>>> Help would be appreciated!
>> >>>>>>
>> >>>>>> Cheers,
>> >>>>>>
>> >>>>>> Peter
>> >>>>>>
>> >>>>>>
>> >>>>>> ------------------------------------------------------------------------------
>> >>>>>> For Developers, A Lot Can Happen In A Second.
>> >>>>>> Boundary is the first to Know...and Tell You.
>> >>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> >>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>> >>>>>> _______________________________________________
>> >>>>>> Gramps-users mailing list
>> >>>>>> [hidden email]
>> >>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>> >>>>>>
>> >>>>
>> >>>>
>> >>>> ------------------------------------------------------------------------------
>> >>>> For Developers, A Lot Can Happen In A Second.
>> >>>> Boundary is the first to Know...and Tell You.
>> >>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> >>>> http://p.sf.net/sfu/Boundary-d2dvs2
>> >>>> _______________________________________________
>> >>>> Gramps-users mailing list
>> >>>> [hidden email]
>> >>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>> >>>>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> For Developers, A Lot Can Happen In A Second.
>> >> Boundary is the first to Know...and Tell You.
>> >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> >> http://p.sf.net/sfu/Boundary-d2dvs2
>> >> _______________________________________________
>> >> Gramps-users mailing list
>> >> [hidden email]
>> >> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>> _______________________________________________
>> Gramps-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gramps-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-users
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

Peter Kidd
In reply to this post by DS Blank
I realise that anyone can edit the wiki, and if I felt confident to, I would.

Although I *really* like GRAMPS, and am grateful to all its developers
for all the work they've put in, there are various aspects of it that
I find really counter-intuitive (I previously used PAF, then Family
Historian), but whenever I try to get to grips with any of my problems
I seem to find that the online documentation either does not explain
the bit I need (as with the current question about
searching/filtering) or else the terminology and images in the
documentation do not match what I see in front of me onscreen, so I am
really reluctant to make matters worse, in case I have misunderstood
how things (should) work. (If the documentation matched the software,
I'd feel more confident that I have understood things properly and
would be much more likely to add to the documentation myself.)

Peter

On 24 April 2012 16:17, Doug Blank <[hidden email]> wrote:

> On Tue, Apr 24, 2012 at 9:22 AM, Peter Kidd <[hidden email]> wrote:
>> Dear Doug,
>>
>> Many thanks for this; a very useful summary and explanation. I hope it
>> could be incorporated into the documentation.
>
> You're welcome! In fact, anyone can turn your hope into reality...
> anyone can edit the Gramps wiki to add detail or ask questions.
>
> I'm not a wiki or documentation expert, but someone will correct what
> we contribute. I couldn't find any particular page that addressed
> these issues, so I stuck it at the top of:
>
> http://www.gramps-project.org/wiki/index.php?title=Gramps_3.4_Wiki_Manual_-_Filters
>
> I added this to an upcoming Gramps 3.4 page, so that it will be copied
> forward to future versions (the Gramps 3.4 manual pages were copied
> from Gramps 3.3 pages just a short while ago). Anyone can copy this
> back to Gramps 3.3 pages, and to other languages.
>
> -Doug
>
>> Peter
>>
>> On 24 April 2012 12:56, Doug Blank <[hidden email]> wrote:
>>> On Mon, Apr 23, 2012 at 5:44 AM, Peter Kidd <[hidden email]> wrote:
>>>> Dear Jeff,
>>>>
>>>> Thanks for this. I can see how your method would work, but it seems
>>>> like an extraordinarily complex way of doing one of the very simplest
>>>> things one might want to do with a filter: find people with a
>>>> particular name! (I find I hard to believe that GRAMPS has been in
>>>> development for so long and that there is not a simpler way of doing
>>>> this. There is, after all, already a filter field called "Name" --
>>>> it's just that it seems designed to filter on surname or forename but
>>>> not both.)
>>>>
>>>> Can anyone else jump in with suggestions, or explain why this is not
>>>> something that has come up before as a requested feature?
>>>
>>> The search functionality is a little confusing, and we want to clean
>>> that up at some point. But you can easily do what you want.
>>>
>>> First, there are two different mechanisms for searching: the top bar
>>> Search and the side/bottom bar Filter. The top bar Search only appears
>>> when the entire sidebar is closed. You can close/open the
>>> Sidebar/bottombar  through menu -> View.
>>>
>>> Search and Filter work completely differently and it is useful to
>>> understand these differences:
>>>
>>> Search - the top bar search looks through the database as it appears
>>> in the rows and columns on the screen. For example, if you have the
>>> Name Display in Preferences set to show "Surname, Given" then you can
>>> match names as you originally tried with "Smith, J" and all of those
>>> rows will match. But if you change the way that names are displayed
>>> (in Preferences) then you will match that.  The Search functionality
>>> is probably the one you want to use most of the time, as it is most
>>> straightforward, but has some limitations (see below).
>>>
>>> Filter - the side/bottom bar Filters use a more complex system. It is
>>> not limited to what you see on the screen, but looks at the actual
>>> data. The name search will try to match on any single name part
>>> (given, surname, prefix, etc) of all names but appears to only match
>>> one---you can't match part of given and part of surname as you were
>>> first attempting. You can match surname, but not surname and given in
>>> the same name. (If you Filter on "John", you will get matches of
>>> people with firstname "John" but also those with surname "Johnson".
>>> You just can't filter on combinations of first and lastnames, as you
>>> were attempting).
>>>
>>> Some additional points:
>>>
>>> * The Filter will search alternative names too; Search only looks in
>>> the primary name (the one showing). That is why if you do a Filter on
>>> "Smith" you might see people listed that don't appear to match. But if
>>> you edit that person's details, you might see that they have an
>>> alternate name containing "smith".
>>>
>>> * You can open a bottom bar filter with top bar search, but that seems
>>> buggy; best to use filters only in the sidebar.
>>>
>>> * The Filter allows "regular expressions". So you can find all of the
>>> names that start with "B" and end in "ship": "B*ship". You can't do
>>> that with the top bar Search.
>>>
>>> * The Search will only match what is visible. If a name or text is too
>>> big to see in listing below topbar, then you won't find it. This is
>>> something to keep in mind when Searching through Notes. Best to use
>>> Filter for notes and other long text fields.
>>>
>>> Hope this helps! And I hope that we can integrate these two different
>>> systems into one that can do it all.
>>>
>>> -Doug
>>>
>>>> Cheers,
>>>>
>>>> Peter
>>>>
>>>> On 22 April 2012 06:25, Jeff Hunt <[hidden email]> wrote:
>>>>> Hi Peter, I rushed in without checking what you had done. After
>>>>> consulting the wife who uses Gramps a lot we came up with:---
>>>>>
>>>>> Go to the filter screen as you have been doing. Select Custom Filter -
>>>>> by clicking on the pencil - then create a rule from the rule list.
>>>>> Give the filter a name. Go to general filters by clicking on the + and
>>>>> scroll down. We selected 'People with the <Name>' and then filled in
>>>>> the value for given name and family name in the appropriate text
>>>>> boxes.
>>>>>
>>>>> Then return to ordinary filter and select the named custom filter and find.
>>>>>
>>>>> If this is not clear you can ask again privately.
>>>>>
>>>>> -J
>>>>>
>>>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>>>> Unless I have misunderstood something fundamental, what Jeff seems to
>>>>>> be describing is what I am already doing.
>>>>>>
>>>>>> Can anything think what I might be doing wrong?  Of the various search
>>>>>> phrases I mentioned, which should work?
>>>>>>
>>>>>> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1, and
>>>>>> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>>>>>>
>>>>>> Thanks in advance ...
>>>>>>
>>>>>> On 20 April 2012 22:31, Jeff Hunt <[hidden email]> wrote:
>>>>>>> From memory so beware  but the trick is to make sure you are on the People
>>>>>>> tab.
>>>>>>> Then the search box on the right should work.
>>>>>>>
>>>>>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>>>>>> I'm probably being dumb, but I can't find the answer to this.
>>>>>>>>
>>>>>>>> When displaying the 'People' category I can use the 'Name' field to
>>>>>>>> filter the people displayed either by entering "John" to get all the
>>>>>>>> people called John, or by entering "Smith" to get all the people
>>>>>>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>>>>>>>> John", Smith, John", "Smith, J", or any other permutation to get all
>>>>>>>> the people called John Smith. Surely there must be a way to filter on
>>>>>>>> forename+surname, but I have not found it.
>>>>>>>>
>>>>>>>> Help would be appreciated!
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>>
>>>>>>>> Peter
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> For Developers, A Lot Can Happen In A Second.
>>>>>>>> Boundary is the first to Know...and Tell You.
>>>>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>>>>> _______________________________________________
>>>>>>>> Gramps-users mailing list
>>>>>>>> [hidden email]
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> For Developers, A Lot Can Happen In A Second.
>>>>>> Boundary is the first to Know...and Tell You.
>>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>>> _______________________________________________
>>>>>> Gramps-users mailing list
>>>>>> [hidden email]
>>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> For Developers, A Lot Can Happen In A Second.
>>>> Boundary is the first to Know...and Tell You.
>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>> _______________________________________________
>>>> Gramps-users mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

LornaJ
In reply to this post by DS Blank
Thanks for updating the Wiki with the regular expressions info., Doug.  That will be a great help, I'm sure.

On 24 April 2012 17:20, Doug Blank <[hidden email]> wrote:
On Tue, Apr 24, 2012 at 9:33 AM, b4m <[hidden email]> wrote:
> Is there a list anywhere of the regular expressions which can be used in the
> filter?

I couldn't find anything to document the regular expression use in
Gramps, so I added it to:

http://www.gramps-project.org/wiki/index.php?title=Gramps_3.4_Wiki_Manual_-_Filters

There is a lot to Regular Expressions, which is why no one (that I
see) has added it to the Gramps wiki. But we really need to, because
it is so powerful and not easy.

Perhaps more people can add to the Examples there. In fact, if you
would like to add a pattern that you would like to use, perhaps
someone can show you how in the examples.

-Doug

> Thanks.
>
> On 24 April 2012 15:22, Peter Kidd <[hidden email]> wrote:
>>
>> Dear Doug,
>>
>> Many thanks for this; a very useful summary and explanation. I hope it
>> could be incorporated into the documentation.
>>
>> Peter
>>
>> On 24 April 2012 12:56, Doug Blank <[hidden email]> wrote:
>> > On Mon, Apr 23, 2012 at 5:44 AM, Peter Kidd <[hidden email]> wrote:
>> >> Dear Jeff,
>> >>
>> >> Thanks for this. I can see how your method would work, but it seems
>> >> like an extraordinarily complex way of doing one of the very simplest
>> >> things one might want to do with a filter: find people with a
>> >> particular name! (I find I hard to believe that GRAMPS has been in
>> >> development for so long and that there is not a simpler way of doing
>> >> this. There is, after all, already a filter field called "Name" --
>> >> it's just that it seems designed to filter on surname or forename but
>> >> not both.)
>> >>
>> >> Can anyone else jump in with suggestions, or explain why this is not
>> >> something that has come up before as a requested feature?
>> >
>> > The search functionality is a little confusing, and we want to clean
>> > that up at some point. But you can easily do what you want.
>> >
>> > First, there are two different mechanisms for searching: the top bar
>> > Search and the side/bottom bar Filter. The top bar Search only appears
>> > when the entire sidebar is closed. You can close/open the
>> > Sidebar/bottombar  through menu -> View.
>> >
>> > Search and Filter work completely differently and it is useful to
>> > understand these differences:
>> >
>> > Search - the top bar search looks through the database as it appears
>> > in the rows and columns on the screen. For example, if you have the
>> > Name Display in Preferences set to show "Surname, Given" then you can
>> > match names as you originally tried with "Smith, J" and all of those
>> > rows will match. But if you change the way that names are displayed
>> > (in Preferences) then you will match that.  The Search functionality
>> > is probably the one you want to use most of the time, as it is most
>> > straightforward, but has some limitations (see below).
>> >
>> > Filter - the side/bottom bar Filters use a more complex system. It is
>> > not limited to what you see on the screen, but looks at the actual
>> > data. The name search will try to match on any single name part
>> > (given, surname, prefix, etc) of all names but appears to only match
>> > one---you can't match part of given and part of surname as you were
>> > first attempting. You can match surname, but not surname and given in
>> > the same name. (If you Filter on "John", you will get matches of
>> > people with firstname "John" but also those with surname "Johnson".
>> > You just can't filter on combinations of first and lastnames, as you
>> > were attempting).
>> >
>> > Some additional points:
>> >
>> > * The Filter will search alternative names too; Search only looks in
>> > the primary name (the one showing). That is why if you do a Filter on
>> > "Smith" you might see people listed that don't appear to match. But if
>> > you edit that person's details, you might see that they have an
>> > alternate name containing "smith".
>> >
>> > * You can open a bottom bar filter with top bar search, but that seems
>> > buggy; best to use filters only in the sidebar.
>> >
>> > * The Filter allows "regular expressions". So you can find all of the
>> > names that start with "B" and end in "ship": "B*ship". You can't do
>> > that with the top bar Search.
>> >
>> > * The Search will only match what is visible. If a name or text is too
>> > big to see in listing below topbar, then you won't find it. This is
>> > something to keep in mind when Searching through Notes. Best to use
>> > Filter for notes and other long text fields.
>> >
>> > Hope this helps! And I hope that we can integrate these two different
>> > systems into one that can do it all.
>> >
>> > -Doug
>> >
>> >> Cheers,
>> >>
>> >> Peter
>> >>
>> >> On 22 April 2012 06:25, Jeff Hunt <[hidden email]> wrote:
>> >>> Hi Peter, I rushed in without checking what you had done. After
>> >>> consulting the wife who uses Gramps a lot we came up with:---
>> >>>
>> >>> Go to the filter screen as you have been doing. Select Custom Filter -
>> >>> by clicking on the pencil - then create a rule from the rule list.
>> >>> Give the filter a name. Go to general filters by clicking on the + and
>> >>> scroll down. We selected 'People with the <Name>' and then filled in
>> >>> the value for given name and family name in the appropriate text
>> >>> boxes.
>> >>>
>> >>> Then return to ordinary filter and select the named custom filter and
>> >>> find.
>> >>>
>> >>> If this is not clear you can ask again privately.
>> >>>
>> >>> -J
>> >>>
>> >>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>> >>>> Unless I have misunderstood something fundamental, what Jeff seems to
>> >>>> be describing is what I am already doing.
>> >>>>
>> >>>> Can anything think what I might be doing wrong?  Of the various
>> >>>> search
>> >>>> phrases I mentioned, which should work?
>> >>>>
>> >>>> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1,
>> >>>> and
>> >>>> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>> >>>>
>> >>>> Thanks in advance ...
>> >>>>
>> >>>> On 20 April 2012 22:31, Jeff Hunt <[hidden email]> wrote:
>> >>>>> From memory so beware  but the trick is to make sure you are on the
>> >>>>> People
>> >>>>> tab.
>> >>>>> Then the search box on the right should work.
>> >>>>>
>> >>>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>> >>>>>> I'm probably being dumb, but I can't find the answer to this.
>> >>>>>>
>> >>>>>> When displaying the 'People' category I can use the 'Name' field to
>> >>>>>> filter the people displayed either by entering "John" to get all
>> >>>>>> the
>> >>>>>> people called John, or by entering "Smith" to get all the people
>> >>>>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>> >>>>>> John", Smith, John", "Smith, J", or any other permutation to get
>> >>>>>> all
>> >>>>>> the people called John Smith. Surely there must be a way to filter
>> >>>>>> on
>> >>>>>> forename+surname, but I have not found it.
>> >>>>>>
>> >>>>>> Help would be appreciated!
>> >>>>>>
>> >>>>>> Cheers,
>> >>>>>>
>> >>>>>> Peter
>> >>>>>>
>> >>>>>>
>> >>>>>> ------------------------------------------------------------------------------
>> >>>>>> For Developers, A Lot Can Happen In A Second.
>> >>>>>> Boundary is the first to Know...and Tell You.
>> >>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> >>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>> >>>>>> _______________________________________________
>> >>>>>> Gramps-users mailing list
>> >>>>>> [hidden email]
>> >>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>> >>>>>>
>> >>>>
>> >>>>
>> >>>> ------------------------------------------------------------------------------
>> >>>> For Developers, A Lot Can Happen In A Second.
>> >>>> Boundary is the first to Know...and Tell You.
>> >>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> >>>> http://p.sf.net/sfu/Boundary-d2dvs2
>> >>>> _______________________________________________
>> >>>> Gramps-users mailing list
>> >>>> [hidden email]
>> >>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>> >>>>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> For Developers, A Lot Can Happen In A Second.
>> >> Boundary is the first to Know...and Tell You.
>> >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> >> http://p.sf.net/sfu/Boundary-d2dvs2
>> >> _______________________________________________
>> >> Gramps-users mailing list
>> >> [hidden email]
>> >> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>> _______________________________________________
>> Gramps-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gramps-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-users
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

DS Blank
In reply to this post by Peter Kidd
On Tue, Apr 24, 2012 at 11:25 AM, Peter Kidd <[hidden email]> wrote:

> I realise that anyone can edit the wiki, and if I felt confident to, I would.
>
> Although I *really* like GRAMPS, and am grateful to all its developers
> for all the work they've put in, there are various aspects of it that
> I find really counter-intuitive (I previously used PAF, then Family
> Historian), but whenever I try to get to grips with any of my problems
> I seem to find that the online documentation either does not explain
> the bit I need (as with the current question about
> searching/filtering) or else the terminology and images in the
> documentation do not match what I see in front of me onscreen, so I am
> really reluctant to make matters worse, in case I have misunderstood
> how things (should) work. (If the documentation matched the software,
> I'd feel more confident that I have understood things properly and
> would be much more likely to add to the documentation myself.)

I absolutely understand your hesitation!

Here is an idea: if anyone is reading the wiki manual online and you encounter:

* something confusing
* something wrong
* something that is missing

Add the word NEEDHELP and describe what is wrong, confusing, or
missing--- in as much detail as you can. Occasionally the wiki editors
will search for NEEDHELP and fix what they can.

Sound good? Thanks!

-Doug

> Peter
>
> On 24 April 2012 16:17, Doug Blank <[hidden email]> wrote:
>> On Tue, Apr 24, 2012 at 9:22 AM, Peter Kidd <[hidden email]> wrote:
>>> Dear Doug,
>>>
>>> Many thanks for this; a very useful summary and explanation. I hope it
>>> could be incorporated into the documentation.
>>
>> You're welcome! In fact, anyone can turn your hope into reality...
>> anyone can edit the Gramps wiki to add detail or ask questions.
>>
>> I'm not a wiki or documentation expert, but someone will correct what
>> we contribute. I couldn't find any particular page that addressed
>> these issues, so I stuck it at the top of:
>>
>> http://www.gramps-project.org/wiki/index.php?title=Gramps_3.4_Wiki_Manual_-_Filters
>>
>> I added this to an upcoming Gramps 3.4 page, so that it will be copied
>> forward to future versions (the Gramps 3.4 manual pages were copied
>> from Gramps 3.3 pages just a short while ago). Anyone can copy this
>> back to Gramps 3.3 pages, and to other languages.
>>
>> -Doug
>>
>>> Peter
>>>
>>> On 24 April 2012 12:56, Doug Blank <[hidden email]> wrote:
>>>> On Mon, Apr 23, 2012 at 5:44 AM, Peter Kidd <[hidden email]> wrote:
>>>>> Dear Jeff,
>>>>>
>>>>> Thanks for this. I can see how your method would work, but it seems
>>>>> like an extraordinarily complex way of doing one of the very simplest
>>>>> things one might want to do with a filter: find people with a
>>>>> particular name! (I find I hard to believe that GRAMPS has been in
>>>>> development for so long and that there is not a simpler way of doing
>>>>> this. There is, after all, already a filter field called "Name" --
>>>>> it's just that it seems designed to filter on surname or forename but
>>>>> not both.)
>>>>>
>>>>> Can anyone else jump in with suggestions, or explain why this is not
>>>>> something that has come up before as a requested feature?
>>>>
>>>> The search functionality is a little confusing, and we want to clean
>>>> that up at some point. But you can easily do what you want.
>>>>
>>>> First, there are two different mechanisms for searching: the top bar
>>>> Search and the side/bottom bar Filter. The top bar Search only appears
>>>> when the entire sidebar is closed. You can close/open the
>>>> Sidebar/bottombar  through menu -> View.
>>>>
>>>> Search and Filter work completely differently and it is useful to
>>>> understand these differences:
>>>>
>>>> Search - the top bar search looks through the database as it appears
>>>> in the rows and columns on the screen. For example, if you have the
>>>> Name Display in Preferences set to show "Surname, Given" then you can
>>>> match names as you originally tried with "Smith, J" and all of those
>>>> rows will match. But if you change the way that names are displayed
>>>> (in Preferences) then you will match that.  The Search functionality
>>>> is probably the one you want to use most of the time, as it is most
>>>> straightforward, but has some limitations (see below).
>>>>
>>>> Filter - the side/bottom bar Filters use a more complex system. It is
>>>> not limited to what you see on the screen, but looks at the actual
>>>> data. The name search will try to match on any single name part
>>>> (given, surname, prefix, etc) of all names but appears to only match
>>>> one---you can't match part of given and part of surname as you were
>>>> first attempting. You can match surname, but not surname and given in
>>>> the same name. (If you Filter on "John", you will get matches of
>>>> people with firstname "John" but also those with surname "Johnson".
>>>> You just can't filter on combinations of first and lastnames, as you
>>>> were attempting).
>>>>
>>>> Some additional points:
>>>>
>>>> * The Filter will search alternative names too; Search only looks in
>>>> the primary name (the one showing). That is why if you do a Filter on
>>>> "Smith" you might see people listed that don't appear to match. But if
>>>> you edit that person's details, you might see that they have an
>>>> alternate name containing "smith".
>>>>
>>>> * You can open a bottom bar filter with top bar search, but that seems
>>>> buggy; best to use filters only in the sidebar.
>>>>
>>>> * The Filter allows "regular expressions". So you can find all of the
>>>> names that start with "B" and end in "ship": "B*ship". You can't do
>>>> that with the top bar Search.
>>>>
>>>> * The Search will only match what is visible. If a name or text is too
>>>> big to see in listing below topbar, then you won't find it. This is
>>>> something to keep in mind when Searching through Notes. Best to use
>>>> Filter for notes and other long text fields.
>>>>
>>>> Hope this helps! And I hope that we can integrate these two different
>>>> systems into one that can do it all.
>>>>
>>>> -Doug
>>>>
>>>>> Cheers,
>>>>>
>>>>> Peter
>>>>>
>>>>> On 22 April 2012 06:25, Jeff Hunt <[hidden email]> wrote:
>>>>>> Hi Peter, I rushed in without checking what you had done. After
>>>>>> consulting the wife who uses Gramps a lot we came up with:---
>>>>>>
>>>>>> Go to the filter screen as you have been doing. Select Custom Filter -
>>>>>> by clicking on the pencil - then create a rule from the rule list.
>>>>>> Give the filter a name. Go to general filters by clicking on the + and
>>>>>> scroll down. We selected 'People with the <Name>' and then filled in
>>>>>> the value for given name and family name in the appropriate text
>>>>>> boxes.
>>>>>>
>>>>>> Then return to ordinary filter and select the named custom filter and find.
>>>>>>
>>>>>> If this is not clear you can ask again privately.
>>>>>>
>>>>>> -J
>>>>>>
>>>>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>>>>> Unless I have misunderstood something fundamental, what Jeff seems to
>>>>>>> be describing is what I am already doing.
>>>>>>>
>>>>>>> Can anything think what I might be doing wrong?  Of the various search
>>>>>>> phrases I mentioned, which should work?
>>>>>>>
>>>>>>> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1, and
>>>>>>> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>>>>>>>
>>>>>>> Thanks in advance ...
>>>>>>>
>>>>>>> On 20 April 2012 22:31, Jeff Hunt <[hidden email]> wrote:
>>>>>>>> From memory so beware  but the trick is to make sure you are on the People
>>>>>>>> tab.
>>>>>>>> Then the search box on the right should work.
>>>>>>>>
>>>>>>>> On 21/04/2012, Peter Kidd <[hidden email]> wrote:
>>>>>>>>> I'm probably being dumb, but I can't find the answer to this.
>>>>>>>>>
>>>>>>>>> When displaying the 'People' category I can use the 'Name' field to
>>>>>>>>> filter the people displayed either by entering "John" to get all the
>>>>>>>>> people called John, or by entering "Smith" to get all the people
>>>>>>>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>>>>>>>>> John", Smith, John", "Smith, J", or any other permutation to get all
>>>>>>>>> the people called John Smith. Surely there must be a way to filter on
>>>>>>>>> forename+surname, but I have not found it.
>>>>>>>>>
>>>>>>>>> Help would be appreciated!
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>>
>>>>>>>>> Peter
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> For Developers, A Lot Can Happen In A Second.
>>>>>>>>> Boundary is the first to Know...and Tell You.
>>>>>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>>>>>> _______________________________________________
>>>>>>>>> Gramps-users mailing list
>>>>>>>>> [hidden email]
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> For Developers, A Lot Can Happen In A Second.
>>>>>>> Boundary is the first to Know...and Tell You.
>>>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>>>> _______________________________________________
>>>>>>> Gramps-users mailing list
>>>>>>> [hidden email]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> For Developers, A Lot Can Happen In A Second.
>>>>> Boundary is the first to Know...and Tell You.
>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>> _______________________________________________
>>>>> Gramps-users mailing list
>>>>> [hidden email]
>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

Doug
In reply to this post by DS Blank
I'd be willing to contribute to the Examples if someone
produces a particular pattern they need.

[Just a minor grumble: testing regular expressions is a bit
of a pain with the several flavours of regex. Something that
is valid according to one test doesn't necessarily work with
others or in gramps]

Doug

On 24/04/12 17:20, Doug Blank wrote:

> On Tue, Apr 24, 2012 at 9:33 AM, b4m<[hidden email]>  wrote:
>> Is there a list anywhere of the regular expressions which can be used in the
>> filter?
>
> I couldn't find anything to document the regular expression use in
> Gramps, so I added it to:
>
> http://www.gramps-project.org/wiki/index.php?title=Gramps_3.4_Wiki_Manual_-_Filters
>
> There is a lot to Regular Expressions, which is why no one (that I
> see) has added it to the Gramps wiki. But we really need to, because
> it is so powerful and not easy.
>
> Perhaps more people can add to the Examples there. In fact, if you
> would like to add a pattern that you would like to use, perhaps
> someone can show you how in the examples.
>
> -Doug
>
>> Thanks.
>>
>> On 24 April 2012 15:22, Peter Kidd<[hidden email]>  wrote:
>>>
>>> Dear Doug,
>>>
>>> Many thanks for this; a very useful summary and explanation. I hope it
>>> could be incorporated into the documentation.
>>>
>>> Peter
>>>
>>> On 24 April 2012 12:56, Doug Blank<[hidden email]>  wrote:
>>>> On Mon, Apr 23, 2012 at 5:44 AM, Peter Kidd<[hidden email]>  wrote:
>>>>> Dear Jeff,
>>>>>
>>>>> Thanks for this. I can see how your method would work, but it seems
>>>>> like an extraordinarily complex way of doing one of the very simplest
>>>>> things one might want to do with a filter: find people with a
>>>>> particular name! (I find I hard to believe that GRAMPS has been in
>>>>> development for so long and that there is not a simpler way of doing
>>>>> this. There is, after all, already a filter field called "Name" --
>>>>> it's just that it seems designed to filter on surname or forename but
>>>>> not both.)
>>>>>
>>>>> Can anyone else jump in with suggestions, or explain why this is not
>>>>> something that has come up before as a requested feature?
>>>>
>>>> The search functionality is a little confusing, and we want to clean
>>>> that up at some point. But you can easily do what you want.
>>>>
>>>> First, there are two different mechanisms for searching: the top bar
>>>> Search and the side/bottom bar Filter. The top bar Search only appears
>>>> when the entire sidebar is closed. You can close/open the
>>>> Sidebar/bottombar  through menu ->  View.
>>>>
>>>> Search and Filter work completely differently and it is useful to
>>>> understand these differences:
>>>>
>>>> Search - the top bar search looks through the database as it appears
>>>> in the rows and columns on the screen. For example, if you have the
>>>> Name Display in Preferences set to show "Surname, Given" then you can
>>>> match names as you originally tried with "Smith, J" and all of those
>>>> rows will match. But if you change the way that names are displayed
>>>> (in Preferences) then you will match that.  The Search functionality
>>>> is probably the one you want to use most of the time, as it is most
>>>> straightforward, but has some limitations (see below).
>>>>
>>>> Filter - the side/bottom bar Filters use a more complex system. It is
>>>> not limited to what you see on the screen, but looks at the actual
>>>> data. The name search will try to match on any single name part
>>>> (given, surname, prefix, etc) of all names but appears to only match
>>>> one---you can't match part of given and part of surname as you were
>>>> first attempting. You can match surname, but not surname and given in
>>>> the same name. (If you Filter on "John", you will get matches of
>>>> people with firstname "John" but also those with surname "Johnson".
>>>> You just can't filter on combinations of first and lastnames, as you
>>>> were attempting).
>>>>
>>>> Some additional points:
>>>>
>>>> * The Filter will search alternative names too; Search only looks in
>>>> the primary name (the one showing). That is why if you do a Filter on
>>>> "Smith" you might see people listed that don't appear to match. But if
>>>> you edit that person's details, you might see that they have an
>>>> alternate name containing "smith".
>>>>
>>>> * You can open a bottom bar filter with top bar search, but that seems
>>>> buggy; best to use filters only in the sidebar.
>>>>
>>>> * The Filter allows "regular expressions". So you can find all of the
>>>> names that start with "B" and end in "ship": "B*ship". You can't do
>>>> that with the top bar Search.
>>>>
>>>> * The Search will only match what is visible. If a name or text is too
>>>> big to see in listing below topbar, then you won't find it. This is
>>>> something to keep in mind when Searching through Notes. Best to use
>>>> Filter for notes and other long text fields.
>>>>
>>>> Hope this helps! And I hope that we can integrate these two different
>>>> systems into one that can do it all.
>>>>
>>>> -Doug
>>>>
>>>>> Cheers,
>>>>>
>>>>> Peter
>>>>>
>>>>> On 22 April 2012 06:25, Jeff Hunt<[hidden email]>  wrote:
>>>>>> Hi Peter, I rushed in without checking what you had done. After
>>>>>> consulting the wife who uses Gramps a lot we came up with:---
>>>>>>
>>>>>> Go to the filter screen as you have been doing. Select Custom Filter -
>>>>>> by clicking on the pencil - then create a rule from the rule list.
>>>>>> Give the filter a name. Go to general filters by clicking on the + and
>>>>>> scroll down. We selected 'People with the<Name>' and then filled in
>>>>>> the value for given name and family name in the appropriate text
>>>>>> boxes.
>>>>>>
>>>>>> Then return to ordinary filter and select the named custom filter and
>>>>>> find.
>>>>>>
>>>>>> If this is not clear you can ask again privately.
>>>>>>
>>>>>> -J
>>>>>>
>>>>>> On 21/04/2012, Peter Kidd<[hidden email]>  wrote:
>>>>>>> Unless I have misunderstood something fundamental, what Jeff seems to
>>>>>>> be describing is what I am already doing.
>>>>>>>
>>>>>>> Can anything think what I might be doing wrong?  Of the various
>>>>>>> search
>>>>>>> phrases I mentioned, which should work?
>>>>>>>
>>>>>>> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1,
>>>>>>> and
>>>>>>> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>>>>>>>
>>>>>>> Thanks in advance ...
>>>>>>>
>>>>>>> On 20 April 2012 22:31, Jeff Hunt<[hidden email]>  wrote:
>>>>>>>>  From memory so beware  but the trick is to make sure you are on the
>>>>>>>> People
>>>>>>>> tab.
>>>>>>>> Then the search box on the right should work.
>>>>>>>>
>>>>>>>> On 21/04/2012, Peter Kidd<[hidden email]>  wrote:
>>>>>>>>> I'm probably being dumb, but I can't find the answer to this.
>>>>>>>>>
>>>>>>>>> When displaying the 'People' category I can use the 'Name' field to
>>>>>>>>> filter the people displayed either by entering "John" to get all
>>>>>>>>> the
>>>>>>>>> people called John, or by entering "Smith" to get all the people
>>>>>>>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>>>>>>>>> John", Smith, John", "Smith, J", or any other permutation to get
>>>>>>>>> all
>>>>>>>>> the people called John Smith. Surely there must be a way to filter
>>>>>>>>> on
>>>>>>>>> forename+surname, but I have not found it.
>>>>>>>>>
>>>>>>>>> Help would be appreciated!
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>>
>>>>>>>>> Peter
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> For Developers, A Lot Can Happen In A Second.
>>>>>>>>> Boundary is the first to Know...and Tell You.
>>>>>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>>>>>> _______________________________________________
>>>>>>>>> Gramps-users mailing list
>>>>>>>>> [hidden email]
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> For Developers, A Lot Can Happen In A Second.
>>>>>>> Boundary is the first to Know...and Tell You.
>>>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>>>> _______________________________________________
>>>>>>> Gramps-users mailing list
>>>>>>> [hidden email]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> For Developers, A Lot Can Happen In A Second.
>>>>> Boundary is the first to Know...and Tell You.
>>>>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>>>>> http://p.sf.net/sfu/Boundary-d2dvs2
>>>>> _______________________________________________
>>>>> Gramps-users mailing list
>>>>> [hidden email]
>>>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>
>>> _______________________________________________
>>> Gramps-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Gramps-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gramps-users
>>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gramps-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-users
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

Serge Noiraud-2
Le 24/04/2012 17:59, doug a écrit :
> I'd be willing to contribute to the Examples if someone
> produces a particular pattern they need.

I use the following :

n(é|es|oua|oai|o[iya]|a[iy])r(r|)(on|((e|)au(x|t|d|lt|))) : noiraud, noyrault, noareau, ...
gir(r|)(e|)au(t|d|x|lt|)

I can explain :

() means several letters or words
[] choice between letters
(é|es|oua|oai|o[iya]|a[iy]) means : é or es or oua or oai or oi or ay or oa or ai or ay
(r|) means r or nothing
...

>
> [Just a minor grumble: testing regular expressions is a bit
> of a pain with the several flavours of regex. Something that
> is valid according to one test doesn't necessarily work with
> others or in gramps]
>
> Doug
>
> On 24/04/12 17:20, Doug Blank wrote:
>> On Tue, Apr 24, 2012 at 9:33 AM, b4m<[hidden email]>   wrote:
>>> Is there a list anywhere of the regular expressions which can be used in the
>>> filter?
>> I couldn't find anything to document the regular expression use in
>> Gramps, so I added it to:
>>
>> http://www.gramps-project.org/wiki/index.php?title=Gramps_3.4_Wiki_Manual_-_Filters
>>
>> There is a lot to Regular Expressions, which is why no one (that I
>> see) has added it to the Gramps wiki. But we really need to, because
>> it is so powerful and not easy.
>>
>> Perhaps more people can add to the Examples there. In fact, if you
>> would like to add a pattern that you would like to use, perhaps
>> someone can show you how in the examples.
>>
>> -Doug
>>
>>> Thanks.
>>>
>>> On 24 April 2012 15:22, Peter Kidd<[hidden email]>   wrote:
>>>> Dear Doug,
>>>>
>>>> Many thanks for this; a very useful summary and explanation. I hope it
>>>> could be incorporated into the documentation.
>>>>
>>>> Peter
>>>>
>>>> On 24 April 2012 12:56, Doug Blank<[hidden email]>   wrote:
>>>>> On Mon, Apr 23, 2012 at 5:44 AM, Peter Kidd<[hidden email]>   wrote:
>>>>>> Dear Jeff,
>>>>>>
>>>>>> Thanks for this. I can see how your method would work, but it seems
>>>>>> like an extraordinarily complex way of doing one of the very simplest
>>>>>> things one might want to do with a filter: find people with a
>>>>>> particular name! (I find I hard to believe that GRAMPS has been in
>>>>>> development for so long and that there is not a simpler way of doing
>>>>>> this. There is, after all, already a filter field called "Name" --
>>>>>> it's just that it seems designed to filter on surname or forename but
>>>>>> not both.)
>>>>>>
>>>>>> Can anyone else jump in with suggestions, or explain why this is not
>>>>>> something that has come up before as a requested feature?
>>>>> The search functionality is a little confusing, and we want to clean
>>>>> that up at some point. But you can easily do what you want.
>>>>>
>>>>> First, there are two different mechanisms for searching: the top bar
>>>>> Search and the side/bottom bar Filter. The top bar Search only appears
>>>>> when the entire sidebar is closed. You can close/open the
>>>>> Sidebar/bottombar  through menu ->   View.
>>>>>
>>>>> Search and Filter work completely differently and it is useful to
>>>>> understand these differences:
>>>>>
>>>>> Search - the top bar search looks through the database as it appears
>>>>> in the rows and columns on the screen. For example, if you have the
>>>>> Name Display in Preferences set to show "Surname, Given" then you can
>>>>> match names as you originally tried with "Smith, J" and all of those
>>>>> rows will match. But if you change the way that names are displayed
>>>>> (in Preferences) then you will match that.  The Search functionality
>>>>> is probably the one you want to use most of the time, as it is most
>>>>> straightforward, but has some limitations (see below).
>>>>>
>>>>> Filter - the side/bottom bar Filters use a more complex system. It is
>>>>> not limited to what you see on the screen, but looks at the actual
>>>>> data. The name search will try to match on any single name part
>>>>> (given, surname, prefix, etc) of all names but appears to only match
>>>>> one---you can't match part of given and part of surname as you were
>>>>> first attempting. You can match surname, but not surname and given in
>>>>> the same name. (If you Filter on "John", you will get matches of
>>>>> people with firstname "John" but also those with surname "Johnson".
>>>>> You just can't filter on combinations of first and lastnames, as you
>>>>> were attempting).
>>>>>
>>>>> Some additional points:
>>>>>
>>>>> * The Filter will search alternative names too; Search only looks in
>>>>> the primary name (the one showing). That is why if you do a Filter on
>>>>> "Smith" you might see people listed that don't appear to match. But if
>>>>> you edit that person's details, you might see that they have an
>>>>> alternate name containing "smith".
>>>>>
>>>>> * You can open a bottom bar filter with top bar search, but that seems
>>>>> buggy; best to use filters only in the sidebar.
>>>>>
>>>>> * The Filter allows "regular expressions". So you can find all of the
>>>>> names that start with "B" and end in "ship": "B*ship". You can't do
>>>>> that with the top bar Search.
>>>>>
>>>>> * The Search will only match what is visible. If a name or text is too
>>>>> big to see in listing below topbar, then you won't find it. This is
>>>>> something to keep in mind when Searching through Notes. Best to use
>>>>> Filter for notes and other long text fields.
>>>>>
>>>>> Hope this helps! And I hope that we can integrate these two different
>>>>> systems into one that can do it all.
>>>>>
>>>>> -Doug
>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Peter
>>>>>>
>>>>>> On 22 April 2012 06:25, Jeff Hunt<[hidden email]>   wrote:
>>>>>>> Hi Peter, I rushed in without checking what you had done. After
>>>>>>> consulting the wife who uses Gramps a lot we came up with:---
>>>>>>>
>>>>>>> Go to the filter screen as you have been doing. Select Custom Filter -
>>>>>>> by clicking on the pencil - then create a rule from the rule list.
>>>>>>> Give the filter a name. Go to general filters by clicking on the + and
>>>>>>> scroll down. We selected 'People with the<Name>' and then filled in
>>>>>>> the value for given name and family name in the appropriate text
>>>>>>> boxes.
>>>>>>>
>>>>>>> Then return to ordinary filter and select the named custom filter and
>>>>>>> find.
>>>>>>>
>>>>>>> If this is not clear you can ask again privately.
>>>>>>>
>>>>>>> -J
>>>>>>>
>>>>>>> On 21/04/2012, Peter Kidd<[hidden email]>   wrote:
>>>>>>>> Unless I have misunderstood something fundamental, what Jeff seems to
>>>>>>>> be describing is what I am already doing.
>>>>>>>>
>>>>>>>> Can anything think what I might be doing wrong?  Of the various
>>>>>>>> search
>>>>>>>> phrases I mentioned, which should work?
>>>>>>>>
>>>>>>>> I am using fairly old hardware running Ubuntu 11.04, Gnome 2.32.1,
>>>>>>>> and
>>>>>>>> GRAMPS 3.3.1-1. Would it help if I post some screenshots?
>>>>>>>>
>>>>>>>> Thanks in advance ...
>>>>>>>>
>>>>>>>> On 20 April 2012 22:31, Jeff Hunt<[hidden email]>   wrote:
>>>>>>>>>    From memory so beware  but the trick is to make sure you are on the
>>>>>>>>> People
>>>>>>>>> tab.
>>>>>>>>> Then the search box on the right should work.
>>>>>>>>>
>>>>>>>>> On 21/04/2012, Peter Kidd<[hidden email]>   wrote:
>>>>>>>>>> I'm probably being dumb, but I can't find the answer to this.
>>>>>>>>>>
>>>>>>>>>> When displaying the 'People' category I can use the 'Name' field to
>>>>>>>>>> filter the people displayed either by entering "John" to get all
>>>>>>>>>> the
>>>>>>>>>> people called John, or by entering "Smith" to get all the people
>>>>>>>>>> called Smith, but it seems that I cannot enter "John Smith", "Smith
>>>>>>>>>> John", Smith, John", "Smith, J", or any other permutation to get
>>>>>>>>>> all
>>>>>>>>>> the people called John Smith. Surely there must be a way to filter
>>>>>>>>>> on
>>>>>>>>>> forename+surname, but I have not found it.
>>>>>>>>>>
>>>>>>>>>> Help would be appreciated!
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>>
>>>>>>>>>> Peter
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>> For Developers, A Lot Can Happen In A Second.
>>>>>>>>>> B
...

Serge

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

Doug
In reply to this post by DS Blank
On 24/04/12 17:20, Doug Blank wrote:

> On Tue, Apr 24, 2012 at 9:33 AM, b4m<[hidden email]>  wrote:
>> Is there a list anywhere of the regular expressions which can be used in the
>> filter?
>
> I couldn't find anything to document the regular expression use in
> Gramps, so I added it to:
>
> http://www.gramps-project.org/wiki/index.php?title=Gramps_3.4_Wiki_Manual_-_Filters
>
> There is a lot to Regular Expressions, which is why no one (that I
> see) has added it to the Gramps wiki. But we really need to, because
> it is so powerful and not easy.
>
> Perhaps more people can add to the Examples there. In fact, if you
> would like to add a pattern that you would like to use, perhaps
> someone can show you how in the examples.
>
> -Doug


I've added a couple of examples contributed by Peter
Landgren and Serge Noireaud to the Wiki.
It would be helpful if someone could look over the revised
section and make any improvements.

Doug

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

jerome
In reply to this post by DS Blank
Note, there is also a section on wiki (manual) about
Search versus Filtering on Views:

http://www.gramps-project.org/wiki/index.php?title=Gramps_3.3_Wiki_Manual_-_Main_Window#Filters
http://www.gramps-project.org/wiki/index.php?title=Gramps_3.4_Wiki_Manual_-_Main_Window#Filters

Doug Blank a écrit :

> On Mon, Apr 23, 2012 at 5:44 AM, Peter Kidd <[hidden email]> wrote:
>> Dear Jeff,
>>
>> Thanks for this. I can see how your method would work, but it seems
>> like an extraordinarily complex way of doing one of the very simplest
>> things one might want to do with a filter: find people with a
>> particular name! (I find I hard to believe that GRAMPS has been in
>> development for so long and that there is not a simpler way of doing
>> this. There is, after all, already a filter field called "Name" --
>> it's just that it seems designed to filter on surname or forename but
>> not both.)
>>
>> Can anyone else jump in with suggestions, or explain why this is not
>> something that has come up before as a requested feature?
>
> The search functionality is a little confusing, and we want to clean
> that up at some point. But you can easily do what you want.
>
> First, there are two different mechanisms for searching: the top bar
> Search and the side/bottom bar Filter. The top bar Search only appears
> when the entire sidebar is closed. You can close/open the
> Sidebar/bottombar  through menu -> View.
>
> Search and Filter work completely differently and it is useful to
> understand these differences:
>
> Search - the top bar search looks through the database as it appears
> in the rows and columns on the screen. For example, if you have the
> Name Display in Preferences set to show "Surname, Given" then you can
> match names as you originally tried with "Smith, J" and all of those
> rows will match. But if you change the way that names are displayed
> (in Preferences) then you will match that.  The Search functionality
> is probably the one you want to use most of the time, as it is most
> straightforward, but has some limitations (see below).
>
> Filter - the side/bottom bar Filters use a more complex system. It is
> not limited to what you see on the screen, but looks at the actual
> data. The name search will try to match on any single name part
> (given, surname, prefix, etc) of all names but appears to only match
> one---you can't match part of given and part of surname as you were
> first attempting. You can match surname, but not surname and given in
> the same name. (If you Filter on "John", you will get matches of
> people with firstname "John" but also those with surname "Johnson".
> You just can't filter on combinations of first and lastnames, as you
> were attempting).
>
> Some additional points:
>
> * The Filter will search alternative names too; Search only looks in
> the primary name (the one showing). That is why if you do a Filter on
> "Smith" you might see people listed that don't appear to match. But if
> you edit that person's details, you might see that they have an
> alternate name containing "smith".
>
> * You can open a bottom bar filter with top bar search, but that seems
> buggy; best to use filters only in the sidebar.
>
> * The Filter allows "regular expressions". So you can find all of the
> names that start with "B" and end in "ship": "B*ship". You can't do
> that with the top bar Search.
>
> * The Search will only match what is visible. If a name or text is too
> big to see in listing below topbar, then you won't find it. This is
> something to keep in mind when Searching through Notes. Best to use
> Filter for notes and other long text fields.
>
> Hope this helps! And I hope that we can integrate these two different
> systems into one that can do it all.
>
> -Doug
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gramps-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gramps-users
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Filtering names

Peter Kidd
On 4 May 2012 13:48, Jérôme <[hidden email]> wrote:
> Note, there is also a section on wiki (manual) about
> Search versus Filtering on Views:
>
> http://www.gramps-project.org/wiki/index.php?title=Gramps_3.3_Wiki_Manual_-_Main_Window#Filters
> http://www.gramps-project.org/wiki/index.php?title=Gramps_3.4_Wiki_Manual_-_Main_Window#Filters

Thanks Jérôme -- I had found these pages when I was originally having
trouble, but they do not provide enough information to have helped me
with my problem.

May I make a suggestion?  In a future release, how about having more
than one name field in the default Filter view: instead of just one
field called "Name", how about two fields, called "Given name" and
"Family name" (or "Forename" and "Surname", or whatever the preferred
terminology is)?

This would have at least three advantages:

-- it would be clearer to newbies how to construct name-based filters
-- it would allow easy construction of filters such as 'Forename=J*'
AND 'Surname=Smith'
-- it would allow one to search for people whose forename is 'John',
without also returning people whose surname is 'Johnson', thus
enabling more accurate filtering.

Peter

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
Loading...