<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Changing Defaults]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Changing Defaults of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Thu, 02 May 2024 21:25:33 +0300</lastBuildDateTag>		<item>
			<title>Changing Defaults</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic16338/message56756/">Changing Defaults</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			Thanks very much Zygmunt. That&#39;s brilliant! &nbsp;<img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_smile.gif" border="0" data-code=":)" data-definition="SD" alt=":)" style="width:16px;height:16px;" title="" class="bx-smile" /> <br />
			<i>02 May 2024 21:25:33, <a href="http://www.ritlabs.com/en/forums/">Mad Batter</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic16338/message56756/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic16338/message56756/</guid>
			<pubDate>Thu, 02 May 2024 21:25:33 +0300</pubDate>
			<category>The Bat! - Filters</category>
		</item>
		<item>
			<title>Changing Defaults</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic16338/message56753/">Changing Defaults</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			<br />====quote====<br /><a class="blog-p-user-name" id="bp_chfS0vm4" href="/en/forums/" bx-tooltip-user-id="117031">Mad Batter</a> wrote:<br /><br />Is it possible to change this default to OR?<br />=============<br />Unfortunately, changing the default &quot;AND&quot; to &quot;OR&quot; relation in filter is not possible. This is a problem when the number of filter conditions is big and makes a filter creation very unconvenient. I have succesfully tried a method to change &quot;AND&quot; into &quot;OR&quot; in filter that is fully created. You can copy the filter using Ctrl+C method in filter tree and then paste it in ordinary text editor (e.g. Notepad). As you can see, the filter code is pure text, where you can change some elements.<br /><br />Among others, you have there following sequence:<br />
====code====
<pre>Name: &#60;This is the filter name&#62;
Filter: {&#92;0D&#92;0A&#92;20`0`4`&#60;this is a condition argument&#62;&#92;0D&#92;0A}</pre>
=============
<br />The magic digits in &quot;Filter&quot; block decides about filter behaviour, so in the example above the condition is read as &quot;Sender is...&quot;. When more conditions are added then they are separated by appropriate <span class="bx-font" style="color:#ff0000"><B><U>three digits with apostrophes</U></B></span> sequences. The following code means two conditions with &quot;AND&quot; operator:<br /><br />Filter: {\0D\0A\20`0`4`<span class="bx-font" style="color:#0000ff">&lt;this is a condition #1&gt;</span>\0D\0A<span class="bx-font" style="color:#ff0000"><B><U>0`0`4`</U></B></span><span class="bx-font" style="color:#0000ff">&lt;this is a condition #2&gt;</span>\0D\0A}<br /><br />If we want to use &quot;OR&quot; it is sufficient to change &quot;0&quot; to &quot;1&quot; as in example below:<br /><br />Filter: {\0D\0A\20`0`4`<span class="bx-font" style="color:#0000ff">&lt;this is a condition #1&gt;</span>\0D\0A<span class="bx-font" style="color:#ff0000"><B><U>1`0`4`</U></B></span><span class="bx-font" style="color:#0000ff">&lt;this is a condition #2&gt;</span>\0D\0A}<br /><br />When the code of filter with such changes will be pasted into filter tree, you will have &quot;OR&quot; instead of &quot;AND&quot; in conditions. <br />
			<i>02 May 2024 11:53:06, <a href="http://www.ritlabs.com/en/forums/">Zygmunt Wereszczyński</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic16338/message56753/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic16338/message56753/</guid>
			<pubDate>Thu, 02 May 2024 11:53:06 +0300</pubDate>
			<category>The Bat! - Filters</category>
		</item>
		<item>
			<title>Changing Defaults</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic16338/message56750/">Changing Defaults</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			I&#39;m in the process of adding dozens and dozens of filters.<br />By default The Bat starts a filter with AND.<br />For all of my filters I have to change that to OR.<br /><br />Is it possible to change this default to OR? <br />
			<i>02 May 2024 05:18:03, <a href="http://www.ritlabs.com/en/forums/">Mad Batter</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic16338/message56750/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic16338/message56750/</guid>
			<pubDate>Thu, 02 May 2024 05:18:03 +0300</pubDate>
			<category>The Bat! - Filters</category>
		</item>
	</channel>
</rss>
