<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-CA">
	<id>https://wiki.smus.ca/index.php?action=history&amp;feed=atom&amp;title=SDS%3AAdvanced_search.php</id>
	<title>SDS:Advanced search.php - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.smus.ca/index.php?action=history&amp;feed=atom&amp;title=SDS%3AAdvanced_search.php"/>
	<link rel="alternate" type="text/html" href="https://wiki.smus.ca/index.php?title=SDS:Advanced_search.php&amp;action=history"/>
	<updated>2026-04-22T04:50:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.smus.ca/index.php?title=SDS:Advanced_search.php&amp;diff=4956&amp;oldid=prev</id>
		<title>Chris.kloosterman: moved SDS advanced search.php to SDS:Advanced search.php</title>
		<link rel="alternate" type="text/html" href="https://wiki.smus.ca/index.php?title=SDS:Advanced_search.php&amp;diff=4956&amp;oldid=prev"/>
		<updated>2011-05-30T20:38:01Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/index.php/SDS_advanced_search.php&quot; class=&quot;mw-redirect&quot; title=&quot;SDS advanced search.php&quot;&gt;SDS advanced search.php&lt;/a&gt; to &lt;a href=&quot;/index.php/SDS:Advanced_search.php&quot; title=&quot;SDS:Advanced search.php&quot;&gt;SDS:Advanced search.php&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-CA&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:38, 30 May 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-CA&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Chris.kloosterman</name></author>
	</entry>
	<entry>
		<id>https://wiki.smus.ca/index.php?title=SDS:Advanced_search.php&amp;diff=3476&amp;oldid=prev</id>
		<title>Chris.kloosterman: 4 revisions</title>
		<link rel="alternate" type="text/html" href="https://wiki.smus.ca/index.php?title=SDS:Advanced_search.php&amp;diff=3476&amp;oldid=prev"/>
		<updated>2011-04-04T22:34:02Z</updated>

		<summary type="html">&lt;p&gt;4 revisions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page lets you search and create lists for very specific criteria concerning students, parents, and addresses.&lt;br /&gt;
&lt;br /&gt;
==Adding Search Terms==&lt;br /&gt;
When you first come to the page, you will see a drop-down list, and a button that says &amp;quot;Add search term&amp;quot;.  The list contains every criterion that it&amp;#039;s possible to search on, and is grouped by student properties, parent properties, and address properties.  To add a search term, decide what criterion you want to search on, select it and hit the button.  You can continue doing this until you&amp;#039;ve selected all the criteria you want.&lt;br /&gt;
&lt;br /&gt;
==Configuring Search Terms==&lt;br /&gt;
===Specifying Search===&lt;br /&gt;
Each search term has an operator list and a term box.  The operator list contains such options as &amp;quot;=&amp;quot;, &amp;quot;&amp;amp;ne;&amp;quot;, &amp;quot;&amp;amp;gt;&amp;quot;, &amp;quot;&amp;amp;lt;&amp;quot;, etc.  The term box is either an empty textbox or a list, to the right of the operator.&lt;br /&gt;
&lt;br /&gt;
To make sure your term is constructed correctly, just try reading the line out loud.  For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;student:&amp;#039;&amp;#039;&amp;#039; legal_first_name &amp;amp;gt; M&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Means &amp;quot;the student&amp;#039;s legal first name is (alphabetically) greater than the letter M&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Relating Terms===&lt;br /&gt;
If you have more than one search term, subsequent terms will also have a relation list in front of them, with the options of &amp;quot;And&amp;quot; or &amp;quot;Or&amp;quot;.  By default, these will all be set to &amp;quot;And&amp;quot;, and therefore all of the search terms will be required to be true.  If you set some of these to &amp;quot;Or&amp;quot;, you will create groups of optional search terms.  For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;code&amp;gt;&lt;br /&gt;
term1&amp;lt;br /&amp;gt;&lt;br /&gt;
AND term2&amp;lt;br /&amp;gt;&lt;br /&gt;
OR term3&amp;lt;br /&amp;gt;&lt;br /&gt;
OR term4&amp;lt;br /&amp;gt;&lt;br /&gt;
AND term5&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Is evaluated as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;code&amp;gt;term1 AND (term2 OR term3 OR term4) AND term5&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Hints==&lt;br /&gt;
Hit &amp;quot;Delete&amp;quot; to remove a search term.&lt;br /&gt;
&lt;br /&gt;
If you want to search only for enrolled students, add &amp;quot;status&amp;quot; as one of the search terms.&lt;br /&gt;
&lt;br /&gt;
The results will be formatted differently, depending on whether you&amp;#039;re searching for student, parent, or address information.  If you have terms relating to more than one of these, you will have another list next to the search button, entitled &amp;quot;Show results for&amp;quot;, which lets you choose the output format.&lt;br /&gt;
&lt;br /&gt;
From the results page, press the &amp;quot;Back&amp;quot; link at the bottom of the page, instead of the Back button in your browser.&lt;br /&gt;
&lt;br /&gt;
TimeStamp dates should be selected from date dropdowns.&lt;br /&gt;
e.g. TimeStamp &amp;gt; 1-January-2009 will give you all the addresses that have been changed or created since January 1st, 2009.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
If you want to get a list of all the addresses belonging to enrolled students who live in Victoria, and were either born before 1991 or are in grade 8:&lt;br /&gt;
# Select &amp;quot;status&amp;quot; under the &amp;quot;student&amp;quot; header, and hit &amp;quot;Add search term&amp;quot;.&lt;br /&gt;
# Do the same with &amp;quot;birth_date&amp;quot; under the &amp;quot;student&amp;quot; header.&lt;br /&gt;
# Do the same with &amp;quot;grade&amp;quot; under the &amp;quot;student&amp;quot; header.&lt;br /&gt;
# Do the same with &amp;quot;city&amp;quot; under the &amp;quot;address&amp;quot; header.&lt;br /&gt;
# The first term defaults to &amp;quot;&amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;student:&amp;#039;&amp;#039;&amp;#039; status = Enrolled&amp;lt;/code&amp;gt;&amp;quot;, so leave this as it is.&lt;br /&gt;
# Set the second term to &amp;quot;&amp;lt;code&amp;gt;And &amp;#039;&amp;#039;&amp;#039;student:&amp;#039;&amp;#039;&amp;#039; birth_date &amp;lt; 1-January-1991&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
# Set the third term to &amp;quot;&amp;lt;code&amp;gt;Or &amp;#039;&amp;#039;&amp;#039;student:&amp;#039;&amp;#039;&amp;#039; grade = 8&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
# Set the fourth term to &amp;quot;&amp;lt;code&amp;gt;And &amp;#039;&amp;#039;&amp;#039;address:&amp;#039;&amp;#039;&amp;#039; city = Victoria&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
# Set &amp;quot;Show results for&amp;quot; to &amp;quot;address&amp;quot;.&lt;br /&gt;
# Click &amp;quot;Search!&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Chris.kloosterman</name></author>
	</entry>
	<entry>
		<id>https://wiki.smus.ca/index.php?title=SDS:Advanced_search.php&amp;diff=3474&amp;oldid=prev</id>
		<title>Richard.stern: /* Hints */</title>
		<link rel="alternate" type="text/html" href="https://wiki.smus.ca/index.php?title=SDS:Advanced_search.php&amp;diff=3474&amp;oldid=prev"/>
		<updated>2009-11-06T00:22:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Hints&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-CA&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:22, 5 November 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l36&quot;&gt;Line 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;From the results page, press the &amp;quot;Back&amp;quot; link at the bottom of the page, instead of the Back button in your browser.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;From the results page, press the &amp;quot;Back&amp;quot; link at the bottom of the page, instead of the Back button in your browser.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;TimeStamp dates must be of the format &quot;YYYY-MM-DD HH:MM:SS&quot;. You may omit the clock and just use YYYY-MM-DD.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;e.g. TimeStamp &amp;gt; 2009-01-01 will give you all the addresses that have been changed or created since January 1st, 2009.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Example==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Example==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Richard.stern</name></author>
	</entry>
	<entry>
		<id>https://wiki.smus.ca/index.php?title=SDS:Advanced_search.php&amp;diff=3473&amp;oldid=prev</id>
		<title>10.20.10.78 at 18:57, 23 June 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.smus.ca/index.php?title=SDS:Advanced_search.php&amp;diff=3473&amp;oldid=prev"/>
		<updated>2006-06-23T18:57:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-CA&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:57, 23 June 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l34&quot;&gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The results will be formatted differently, depending on whether you&amp;#039;re searching for student, parent, or address information.  If you have terms relating to more than one of these, you will have another list next to the search button, entitled &amp;quot;Show results for&amp;quot;, which lets you choose the output format.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The results will be formatted differently, depending on whether you&amp;#039;re searching for student, parent, or address information.  If you have terms relating to more than one of these, you will have another list next to the search button, entitled &amp;quot;Show results for&amp;quot;, which lets you choose the output format.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;From the results page, press the &quot;Back&quot; link at the bottom of the page, instead of the Back button in your browser.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Example==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Example==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>10.20.10.78</name></author>
	</entry>
	<entry>
		<id>https://wiki.smus.ca/index.php?title=SDS:Advanced_search.php&amp;diff=3472&amp;oldid=prev</id>
		<title>10.20.10.78 at 18:54, 23 June 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.smus.ca/index.php?title=SDS:Advanced_search.php&amp;diff=3472&amp;oldid=prev"/>
		<updated>2006-06-23T18:54:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page lets you search and create lists for very specific criteria concerning students, parents, and addresses.&lt;br /&gt;
&lt;br /&gt;
==Adding Search Terms==&lt;br /&gt;
When you first come to the page, you will see a drop-down list, and a button that says &amp;quot;Add search term&amp;quot;.  The list contains every criterion that it&amp;#039;s possible to search on, and is grouped by student properties, parent properties, and address properties.  To add a search term, decide what criterion you want to search on, select it and hit the button.  You can continue doing this until you&amp;#039;ve selected all the criteria you want.&lt;br /&gt;
&lt;br /&gt;
==Configuring Search Terms==&lt;br /&gt;
===Specifying Search===&lt;br /&gt;
Each search term has an operator list and a term box.  The operator list contains such options as &amp;quot;=&amp;quot;, &amp;quot;&amp;amp;ne;&amp;quot;, &amp;quot;&amp;amp;gt;&amp;quot;, &amp;quot;&amp;amp;lt;&amp;quot;, etc.  The term box is either an empty textbox or a list, to the right of the operator.&lt;br /&gt;
&lt;br /&gt;
To make sure your term is constructed correctly, just try reading the line out loud.  For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;student:&amp;#039;&amp;#039;&amp;#039; legal_first_name &amp;amp;gt; M&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Means &amp;quot;the student&amp;#039;s legal first name is (alphabetically) greater than the letter M&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Relating Terms===&lt;br /&gt;
If you have more than one search term, subsequent terms will also have a relation list in front of them, with the options of &amp;quot;And&amp;quot; or &amp;quot;Or&amp;quot;.  By default, these will all be set to &amp;quot;And&amp;quot;, and therefore all of the search terms will be required to be true.  If you set some of these to &amp;quot;Or&amp;quot;, you will create groups of optional search terms.  For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;code&amp;gt;&lt;br /&gt;
term1&amp;lt;br /&amp;gt;&lt;br /&gt;
AND term2&amp;lt;br /&amp;gt;&lt;br /&gt;
OR term3&amp;lt;br /&amp;gt;&lt;br /&gt;
OR term4&amp;lt;br /&amp;gt;&lt;br /&gt;
AND term5&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Is evaluated as:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;code&amp;gt;term1 AND (term2 OR term3 OR term4) AND term5&amp;lt;/code&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Hints==&lt;br /&gt;
Hit &amp;quot;Delete&amp;quot; to remove a search term.&lt;br /&gt;
&lt;br /&gt;
If you want to search only for enrolled students, add &amp;quot;status&amp;quot; as one of the search terms.&lt;br /&gt;
&lt;br /&gt;
The results will be formatted differently, depending on whether you&amp;#039;re searching for student, parent, or address information.  If you have terms relating to more than one of these, you will have another list next to the search button, entitled &amp;quot;Show results for&amp;quot;, which lets you choose the output format.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
If you want to get a list of all the addresses belonging to enrolled students who live in Victoria, and were either born before 1991 or are in grade 8:&lt;br /&gt;
# Select &amp;quot;status&amp;quot; under the &amp;quot;student&amp;quot; header, and hit &amp;quot;Add search term&amp;quot;.&lt;br /&gt;
# Do the same with &amp;quot;birth_date&amp;quot; under the &amp;quot;student&amp;quot; header.&lt;br /&gt;
# Do the same with &amp;quot;grade&amp;quot; under the &amp;quot;student&amp;quot; header.&lt;br /&gt;
# Do the same with &amp;quot;city&amp;quot; under the &amp;quot;address&amp;quot; header.&lt;br /&gt;
# The first term defaults to &amp;quot;&amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;student:&amp;#039;&amp;#039;&amp;#039; status = Enrolled&amp;lt;/code&amp;gt;&amp;quot;, so leave this as it is.&lt;br /&gt;
# Set the second term to &amp;quot;&amp;lt;code&amp;gt;And &amp;#039;&amp;#039;&amp;#039;student:&amp;#039;&amp;#039;&amp;#039; birth_date &amp;lt; 1991-Jan-01&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
# Set the third term to &amp;quot;&amp;lt;code&amp;gt;Or &amp;#039;&amp;#039;&amp;#039;student:&amp;#039;&amp;#039;&amp;#039; grade = 8&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
# Set the fourth term to &amp;quot;&amp;lt;code&amp;gt;And &amp;#039;&amp;#039;&amp;#039;address:&amp;#039;&amp;#039;&amp;#039; city = Victoria&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
# Set &amp;quot;Show results for&amp;quot; to &amp;quot;address&amp;quot;.&lt;br /&gt;
# Click &amp;quot;Search!&amp;quot;.&lt;/div&gt;</summary>
		<author><name>10.20.10.78</name></author>
	</entry>
</feed>